diff options
| author | Steven Rostedt <rostedt@goodmis.org> | 2026-08-13 20:42:26 -0400 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-08-14 09:59:27 -0400 |
| commit | ae70b04ab9c7f6162a8c0fdd18a62a945c133142 (patch) | |
| tree | 4e639318bf9bd0b1559f7e0715aad300d26d3137 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a8aaf7445bfcdb6e61ee4b8e4946d684c1b4a228 (diff) | |
tracing: Have trace_event_update_all() only handle module that is loading
The function trace_event_update_all() does a scan of events looking to
replace enums with their values in the strings that get exported to the
event format files. It's run at boot up on all events and again when a
module loads.
The issue is that when a module loads, it still runs on *all* events.
There's no reason to process every event when a module loads as the
previous events have already been processed. Only execute on the events
that are loaded with the module.
Link: https://patch.msgid.link/20260813204226.29563591@gandalf.local.home
Fixes: 3673b8e4ce723 ("tracing: Allow for modules to convert their enums to values")
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
