aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/trace
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung.kim@lge.com>2013-07-03 03:44:46 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-01-02 16:17:23 -0500
commit306cfe2025adcba10fb883ad0c540f5541d1b086 (patch)
treee0b1225eb244a34f6fdd8defae6cbd642ff592b9 /Documentation/trace
parentd8a30f20347a60a796a5221e07711c0d30d42dc3 (diff)
tracing/uprobes: Fix documentation of uprobe registration syntax
The uprobe syntax requires an offset after a file path not a symbol. Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Acked-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Cc: zhangwei(Jovi) <jovi.zhangwei@huawei.com> Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'Documentation/trace')
-rw-r--r--Documentation/trace/uprobetracer.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/trace/uprobetracer.txt b/Documentation/trace/uprobetracer.txt
index d9c3e682312c..8f1a8b8956fc 100644
--- a/Documentation/trace/uprobetracer.txt
+++ b/Documentation/trace/uprobetracer.txt
@@ -19,15 +19,15 @@ user to calculate the offset of the probepoint in the object.
19 19
20Synopsis of uprobe_tracer 20Synopsis of uprobe_tracer
21------------------------- 21-------------------------
22 p[:[GRP/]EVENT] PATH:SYMBOL[+offs] [FETCHARGS] : Set a uprobe 22 p[:[GRP/]EVENT] PATH:OFFSET [FETCHARGS] : Set a uprobe
23 r[:[GRP/]EVENT] PATH:SYMBOL[+offs] [FETCHARGS] : Set a return uprobe (uretprobe) 23 r[:[GRP/]EVENT] PATH:OFFSET [FETCHARGS] : Set a return uprobe (uretprobe)
24 -:[GRP/]EVENT : Clear uprobe or uretprobe event 24 -:[GRP/]EVENT : Clear uprobe or uretprobe event
25 25
26 GRP : Group name. If omitted, "uprobes" is the default value. 26 GRP : Group name. If omitted, "uprobes" is the default value.
27 EVENT : Event name. If omitted, the event name is generated based 27 EVENT : Event name. If omitted, the event name is generated based
28 on SYMBOL+offs. 28 on PATH+OFFSET.
29 PATH : Path to an executable or a library. 29 PATH : Path to an executable or a library.
30 SYMBOL[+offs] : Symbol+offset where the probe is inserted. 30 OFFSET : Offset where the probe is inserted.
31 31
32 FETCHARGS : Arguments. Each probe can have up to 128 args. 32 FETCHARGS : Arguments. Each probe can have up to 128 args.
33 %REG : Fetch register REG 33 %REG : Fetch register REG