diff options
author | Steven Rostedt (Google) <[email protected]> | 2024-02-20 09:06:15 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-03-17 07:58:52 -0400 |
commit | e85d471c2be5d3d4dadee1110db316f352daaf0b (patch) | |
tree | 82ed9ffac0456382d3ce0efe0c436a8e711a7220 /tools/perf/util/trace-event-scripting.c | |
parent | 0b18c852cc6fb8284ac0ab97e3e840974a6a8a64 (diff) |
tracing: Move open coded processing of tgid_map into helper function
In preparation of moving the saved_cmdlines logic out of trace.c and into
trace_sched_switch.c, replace the open coded manipulation of tgid_map in
set_tracer_flag() into a helper function trace_alloc_tgid_map() so that it
can be easily moved into trace_sched_switch.c without changing existing
functions in trace.c.
No functional changes.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Tim Chen <[email protected]>
Cc: Vincent Donnefort <[email protected]>
Cc: Sven Schnelle <[email protected]>
Cc: Mete Durlu <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions