summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2025-01-16 17:33:35 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2025-01-16 17:41:07 +0300
commit4c86bc531e60900053384867c082675bba82c29f (patch)
tree223e23717008f5b5946978de45590f6421b7bf66 /tools/perf/scripts/python/syscall-counts.py
parent80c3e28528ff9f269937fcfe73895213a2e14905 (diff)
downloadlinux-4c86bc531e60900053384867c082675bba82c29f.tar.xz
tracing: Add :mod: command to enabled module events
Add a :mod: command to enable only events from a given module from the set_events file. echo '*:mod:<module>' > set_events Or echo ':mod:<module>' > set_events Will enable all events for that module. Specific events can also be enabled via: echo '<event>:mod:<module>' > set_events Or echo '<system>:<event>:mod:<module>' > set_events Or echo '*:<event>:mod:<module>' > set_events The ":mod:" keyword is consistent with the function tracing filter to enable functions from a given module. Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Andrew Morton <akpm@linux-foundation.org> Link: https://lore.kernel.org/20250116143533.214496360@goodmis.org Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions