There is no file named 'enabled' in the directory tracing/events. It should
be the file 'enable'.
Signed-off-by: Xiongwei Song <[email protected]>
---
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
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