Re: [PATCH v4 3.0-rc2-tip 22/22] 22: perf: Documentation for perf uprobes

Masami Hiramatsu
2011-06-10T12:04:03Z

(2011/06/07 22:02), Srikar Dronamraju wrote:
> Modify perf-probe.txt to include uprobe documentation

Sorry, Nak this. I hope to see better uniformed interface for
both of uprobe and kprobe, even after we support debuginfo for
uprobe.

I mean, if uprobe always requires a user-space binary, it should
be specified with -u option instead of --exe and @EXE.

I think this simplifies perf probe usage, it implies;

# perf probe [-k KERN] [...] // Control probes in kernel
# perf probe -m MOD [...] // Control probes in MOD module
# perf probe -u EXE [...] // Control probes on EXE file

Thank you,

--
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com