Messages in this thread | | | Date | Tue, 17 Jan 2012 13:27:41 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH v9 3.2 7/9] tracing: uprobes trace_event interface |
| |
a couple of other 'perf probe' suggestions:
i think the 'perf probe' UI should be streamlined.
Right now we have kprobes assumptions like this syntax:
perf probe <kernel_symbol>
will add a probe.
That is nonsensical once we merge uprobes, as i'd expect much more developers to be interested in user-space symbols than kernel-space symbols.
So we could change this syntax and add the more intuitive:
perf probe add ... perf probe del ... perf probe list
Variants. Also, the -x syntax isnt particularly intuitive either - it should be a 'perf probe add ...' variant.
If someone uses the old syntax it will produce a meaningful error message.
Thanks,
Ingo
| |