diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-09-10 19:53:53 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-09-16 22:03:24 -0400 |
commit | f52487e9c0041842eeb77c6c48774414b1cede08 (patch) | |
tree | 30dc710a8a9823d41dbf83e8bb0acd264917fc96 /Documentation/trace | |
parent | 6e9f23d1619f7badaf9090dac09e86a22d6061d8 (diff) |
tracing/kprobes: Support custom subsystem for each kprobe event
Support specifying a custom subsystem(group) for each kprobe event.
This allows users to create new group to control several probes
at once, or add events to existing groups as additional tracepoints.
New synopsis:
p[:[subsys/]event-name] KADDR|KSYM[+offs] [ARGS]
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Frank Ch. Eigler <fche@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jason Baron <jbaron@redhat.com>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <20090910235353.22412.15149.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'Documentation/trace')
-rw-r--r-- | Documentation/trace/kprobetrace.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/trace/kprobetrace.txt b/Documentation/trace/kprobetrace.txt index a849889e6092..6521681e7838 100644 --- a/Documentation/trace/kprobetrace.txt +++ b/Documentation/trace/kprobetrace.txt | |||
@@ -25,9 +25,10 @@ probe events via /sys/kernel/debug/tracing/events/kprobes/<EVENT>/filter. | |||
25 | 25 | ||
26 | Synopsis of kprobe_events | 26 | Synopsis of kprobe_events |
27 | ------------------------- | 27 | ------------------------- |
28 | p[:EVENT] SYMBOL[+offs]|MEMADDR [FETCHARGS] : Set a probe | 28 | p[:[GRP/]EVENT] SYMBOL[+offs]|MEMADDR [FETCHARGS] : Set a probe |
29 | r[:EVENT] SYMBOL[+0] [FETCHARGS] : Set a return probe | 29 | r[:[GRP/]EVENT] SYMBOL[+0] [FETCHARGS] : Set a return probe |
30 | 30 | ||
31 | GRP : Group name. If omitted, use "kprobes" for it. | ||
31 | EVENT : Event name. If omitted, the event name is generated | 32 | EVENT : Event name. If omitted, the event name is generated |
32 | based on SYMBOL+offs or MEMADDR. | 33 | based on SYMBOL+offs or MEMADDR. |
33 | SYMBOL[+offs] : Symbol+offset where the probe is inserted. | 34 | SYMBOL[+offs] : Symbol+offset where the probe is inserted. |