|
From: Frederic W. <fwe...@gm...> - 2009-09-11 15:36:25
|
On Thu, Sep 10, 2009 at 07:52:58PM -0400, Masami Hiramatsu wrote: > Hi Frederic, > > This series fixes bugs and upgrades kprobe-based event tracer > as a dynamic event tracer on ftrace/perf tools. This also enhances > tracer output format to show each argument name and event name on > each entry. > > With this series, users can add trace events dynamically on ftrace > and use those events with perf tools as below. > > (Step.1) Define new events under new group > > $ echo p:mygroup/myprobe do_sys_open dfd=a0 filename=a1 flags=a2 mode=a3 \ > > /debug/tracing/kprobes_events > $ echo r:mygroup/myretprobe do_sys_open rv >> /debug/tracing/kprobes_events > $ cat /debug/tracing/kprobes_events > p:myprobe do_sys_open+0 dfd=a0 filename=a1 flags=a2 mode=a3 > r:myretprobe do_sys_open+0 rv=rv I've tested the above example and it works very well, so I've applied this set, and the previous pending patches in: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git \ tracing/kprobes Thanks. |