diff mbox series

[2/3] trace-cmd stat: Show PIDs in set_ftrace_notrace_pid

Message ID 20220608163152.425352-3-rostedt@goodmis.org (mailing list archive)
State Accepted
Commit 637ab37fb5e427a99e8d6563353cd72696fadcc5
Headers show
Series trace-cmd stat: Add some missing status | expand

Commit Message

Steven Rostedt June 8, 2022, 4:31 p.m. UTC
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

List the PIDs that are not to be traced by the function tracers that are
listed in the set_ftrace_notrace_pid.

Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
---
 tracecmd/trace-stat.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/tracecmd/trace-stat.c b/tracecmd/trace-stat.c
index 4250f46a32d5..285960de6e0a 100644
--- a/tracecmd/trace-stat.c
+++ b/tracecmd/trace-stat.c
@@ -863,6 +863,8 @@  static void stat_instance(struct buffer_instance *instance, bool opt)
 	report_file(instance, "set_event_notrace_pid", "", "Filtered notrace event PIDs:\n");
 	report_file(instance, "set_ftrace_pid", "no pid",
 		    "Filtered function tracer PIDs:\n");
+	report_file(instance, "set_ftrace_notrace_pid", "no pid",
+		    "Filtered function tracer notrace PIDs:\n");
 	if (opt) {
 		printf("\nOptions:\n");
 		show_options("   ", instance);