Re: [PATCH v9 3.2 7/9] tracing: uprobes trace_event interface

From: Ingo Molnar
Date: Tue Jan 17 2012 - 07:28:16 EST



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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/