Skip to contentSkip to conversation

tracing: Fix incorrect file name

PATCH In review Xiongwei Song 2 participants 2 messages Feb 4, 2018 – Feb 13, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tracing: Fix incorrect file name

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

---
 Documentation/trace/events.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/trace/events.txt +1 -1
index 2cc08d4a326e..1d486660b40f 100644
@@ -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.
 
Signature · 1 line
2.15.1
maintainer
#1 lore raw
Quoted 2 lines · On Sun, 04 Feb 2018 18:14:24 +0800 Xiongwei Song <[email protected]> wrote:

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

Makes sense, applied to the docs tree, thanks.

jon