aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <[email protected]>2023-07-28 23:50:43 +0530
committerSteven Rostedt (Google) <[email protected]>2023-07-30 18:13:33 -0400
commitee41106a12c76f38d0cf82ef17809fa62757151d (patch)
tree8e2aa524b670cfc554775749a19c78cc69e67f0c /tools/perf/scripts/python/task-analyzer.py
parent6d98a0f2ac3c021d21be66fa34e992137cd25bcb (diff)
tracing: Require all trace events to have a TRACE_SYSTEM
The creation of the trace event directory requires that a TRACE_SYSTEM is defined that the trace event directory is added within the system it was defined in. The code handled the case where a TRACE_SYSTEM was not added, and would then add the event at the events directory. But nothing should be doing this. This code also prevents the implementation of creating dynamic dentrys for the eventfs system. As this path has never been hit on correct code, remove it. If it does get hit, issues a WARN_ON_ONCE() and return ENODEV. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Steven Rostedt (Google) <[email protected]> Signed-off-by: Ajay Kaher <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions