diff mbox series

[1/3] trace-cmd stat: Show set_event_notrace_pid entries

Message ID 20220608163152.425352-2-rostedt@goodmis.org (mailing list archive)
State Accepted
Commit dda563c96aa00e05d3b34da03ccda3ddc5daf9a9
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>

Have trace-cmd stat list the PIDs that are in the set_event_notrace_pid.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=208813
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
---
 tracecmd/trace-stat.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tracecmd/trace-stat.c b/tracecmd/trace-stat.c
index 4c3dc6494922..4250f46a32d5 100644
--- a/tracecmd/trace-stat.c
+++ b/tracecmd/trace-stat.c
@@ -860,6 +860,7 @@  static void stat_instance(struct buffer_instance *instance, bool opt)
 	report_kprobes(instance);
 	report_uprobes(instance);
 	report_file(instance, "set_event_pid", "", "Filtered event PIDs:\n");
+	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");
 	if (opt) {