OSDN Git Service

tracing: Fix incorrect file name
authorXiongwei Song <sxwjean@me.com>
Sun, 4 Feb 2018 10:14:24 +0000 (18:14 +0800)
committerJonathan Corbet <corbet@lwn.net>
Tue, 13 Feb 2018 21:20:03 +0000 (14:20 -0700)
There is no file named 'enabled' in the directory tracing/events. It should
be the file 'enable'.

Signed-off-by: Xiongwei Song <sxwjean@me.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/trace/events.txt

index 2cc08d4..1d48666 100644 (file)
@@ -294,7 +294,7 @@ PID listed in the set_event_pid file.
 
 # cd /sys/kernel/debug/tracing
 # echo $$ > set_event_pid
-# echo 1 > events/enabled
+# echo 1 > events/enable
 
 Will only trace events for the current task.