summaryrefslogtreecommitdiffstats
path: root/Documentation/trace/uprobetracer.rst
diff options
context:
space:
mode:
authorAndreas Ziegler <andreas.ziegler@fau.de>2018-07-16 13:05:57 +0200
committerJonathan Corbet <corbet@lwn.net>2018-07-23 09:26:37 -0600
commite50891d6eff5bc446ecf5d4c04906a19d2eb8424 (patch)
treecaf7eb98f41e25be971e6289a997b02d8b71572a /Documentation/trace/uprobetracer.rst
parent655c75a206e65058c50abe731c0518fae5e25c73 (diff)
downloadlinux-e50891d6eff5bc446ecf5d4c04906a19d2eb8424.tar.bz2
Documentation: {u,k}probes: fix filename for event enabling
The per-event files to enable or disable kprobes and uprobes are named 'enable', not 'enabled'. Fix the corresponding documentation. Signed-off-by: Andreas Ziegler <andreas.ziegler@fau.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/trace/uprobetracer.rst')
-rw-r--r--Documentation/trace/uprobetracer.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/trace/uprobetracer.rst b/Documentation/trace/uprobetracer.rst
index 98d3f692957a..d0822811527a 100644
--- a/Documentation/trace/uprobetracer.rst
+++ b/Documentation/trace/uprobetracer.rst
@@ -13,7 +13,7 @@ To enable this feature, build your kernel with CONFIG_UPROBE_EVENTS=y.
Similar to the kprobe-event tracer, this doesn't need to be activated via
current_tracer. Instead of that, add probe points via
/sys/kernel/debug/tracing/uprobe_events, and enable it via
-/sys/kernel/debug/tracing/events/uprobes/<EVENT>/enabled.
+/sys/kernel/debug/tracing/events/uprobes/<EVENT>/enable.
However unlike kprobe-event tracer, the uprobe event interface expects the
user to calculate the offset of the probepoint in the object.