]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tracing: Fix README path for synthetic_events
authorAo Sun <ao.sun@transsion.com>
Thu, 21 May 2026 01:52:34 +0000 (01:52 +0000)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 21 May 2026 22:03:08 +0000 (18:03 -0400)
The events/ prefix should be removed, since synthetic_events
is now directly under the tracing root directory.

Cc: <mhiramat@kernel.org>
Cc: <mathieu.desnoyers@efficios.com>
Link: https://patch.msgid.link/20260521015211.111-1-ao.sun@transsion.com
Signed-off-by: Ao Sun <ao.sun@transsion.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c

index aec3f31ed0271c08b49143bd6061ff443a87ccdc..4218c174460bc6adee893c10c4a31dd0abe2424d 100644 (file)
@@ -4474,7 +4474,7 @@ static const char readme_msg[] =
        "\t        snapshot()                           - snapshot the trace buffer\n\n"
 #endif
 #ifdef CONFIG_SYNTH_EVENTS
-       "  events/synthetic_events\t- Create/append/remove/show synthetic events\n"
+       "  synthetic_events\t- Create/append/remove/show synthetic events\n"
        "\t  Write into this file to define/undefine new synthetic events.\n"
        "\t     example: echo 'myevent u64 lat; char name[]; long[] stack' >> synthetic_events\n"
 #endif