]> git.baikalelectronics.ru Git - kernel.git/commit
perf probe: Add --list option for listing current probe events
authorMasami Hiramatsu <mhiramat@redhat.com>
Tue, 1 Dec 2009 00:20:17 +0000 (19:20 -0500)
committerIngo Molnar <mingo@elte.hu>
Tue, 1 Dec 2009 07:20:02 +0000 (08:20 +0100)
commit4662c4d5e1c5f58e1874a8d6c7aee2ce4b9a3d9e
treeba4d4d6771df1a7d92bd7f8d0c2bce6369e67124
parent3a577230f84d92898f2af17c9e868075bf5f3489
perf probe: Add --list option for listing current probe events

Add --list option for listing currently defined probe events
in the kernel. This shows events in below format;

 [group:event] <perf-probe probe-definition>

for example:

 [probe:schedule_0] schedule+30 cpu

Note that source file/line information is not supported yet.
So even if you added a probe by line, it will be shown in
<symbol+offset>.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Frank Ch. Eigler <fche@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jason Baron <jbaron@redhat.com>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20091201002017.10235.76575.stgit@harusame>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-probe.c
tools/perf/util/probe-event.c
tools/perf/util/probe-event.h