aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <[email protected]>2021-06-17 18:32:34 +0000
committerSteven Rostedt (VMware) <[email protected]>2021-06-18 13:10:00 +0000
commit4fdd595e4f9a1ff6d93ec702eaecae451cfc6591 (patch)
tree5739300e548b60b8286f3b10dbb61a331940d176 /tools/perf/scripts/python/sched-migration.py
parenttracing: Do not stop recording cmdlines when tracing is off (diff)
downloadkernel-4fdd595e4f9a1ff6d93ec702eaecae451cfc6591.tar.gz
kernel-4fdd595e4f9a1ff6d93ec702eaecae451cfc6591.zip
tracing: Do not stop recording comms if the trace file is being read
A while ago, when the "trace" file was opened, tracing was stopped, and code was added to stop recording the comms to saved_cmdlines, for mapping of the pids to the task name. Code has been added that only records the comm if a trace event occurred, and there's no reason to not trace it if the trace file is opened. Cc: [email protected] Fixes: 7ffbd48d5cab2 ("tracing: Cache comms only after an event occurred") Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions