tracing: Fix incorrect file name

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>
This commit is contained in:
Xiongwei Song 2018-02-04 18:14:24 +08:00 committed by Jonathan Corbet
parent 7928b2cbe5
commit d2532e438a

View 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.