diff options
| author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-06-17 14:32:34 -0400 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2021-06-30 08:49:36 -0400 |
| commit | fab7d0d5f5e950577ac8656ef9e1ef5e80e47b3b (patch) | |
| tree | 162be0256daf7c9324966901065f532dad7e0b10 /lib/cpu-notifier-error-inject.c | |
| parent | e231d5d49e9532e819aeb9278410136a716017a5 (diff) | |
tracing: Do not stop recording comms if the trace file is being read
commit 4fdd595e4f9a1ff6d93ec702eaecae451cfc6591 upstream.
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: stable@vger.kernel.org
Fixes: 7ffbd48d5cab2 ("tracing: Cache comms only after an event occurred")
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
