diff mbox series

[1/3] tracing/eprobe: Fix to add filter on eprobe description in README file

Message ID 167309833728.640500.12232259238201433587.stgit@devnote3 (mailing list archive)
State Accepted
Commit 133921530c42960c07d25d12677f9e131a2b0cdf
Headers show
Series selftests/tracing: Fix some testcases for recent change | expand

Commit Message

Masami Hiramatsu (Google) Jan. 7, 2023, 1:32 p.m. UTC
From: Masami Hiramatsu (Google) <mhiramat@kernel.org>

Fix to add a description of the filter on eprobe in README file. This
is required to identify the kernel supports the filter on eprobe or not.

Fixes: 752be5c5c910 ("tracing/eprobe: Add eprobe filter support")
Cc: stable@vger.kernel.org
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
---
 kernel/trace/trace.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index a555a861b978..d0c22766dc26 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -5598,7 +5598,7 @@  static const char readme_msg[] =
 #ifdef CONFIG_HIST_TRIGGERS
 	"\t           s:[synthetic/]<event> <field> [<field>]\n"
 #endif
-	"\t           e[:[<group>/][<event>]] <attached-group>.<attached-event> [<args>]\n"
+	"\t           e[:[<group>/][<event>]] <attached-group>.<attached-event> [<args>] [if <filter>]\n"
 	"\t           -:[<group>/][<event>]\n"
 #ifdef CONFIG_KPROBE_EVENTS
 	"\t    place: [<module>:]<symbol>[+<offset>]|<memaddr>\n"