[PATCH] tracing: Fix incorrect file name

From: Xiongwei Song
Date: Sun Feb 04 2018 - 05:14:55 EST


There is no file named 'enabled' in the directory tracing/events. It should
be the file 'enable'.

Signed-off-by: Xiongwei Song <sxwjean@xxxxxx>
---
Documentation/trace/events.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/trace/events.txt b/Documentation/trace/events.txt
index 2cc08d4a326e..1d486660b40f 100644
--- a/Documentation/trace/events.txt
+++ b/Documentation/trace/events.txt
@@ -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.

--
2.15.1