Files
kernel_google_wahoo/kernel
Steven Rostedt (VMware) fab7d0d5f5 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: 7ffbd48d5c ("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>
2021-06-30 08:49:36 -04:00
..
2020-09-23 08:44:26 +02:00
2015-11-04 08:23:51 -05:00
2019-11-28 18:26:01 +01:00
2021-06-16 11:34:53 +02:00
2015-11-23 09:44:58 +01:00
2021-02-10 09:07:27 +01:00
2020-04-02 19:02:31 +02:00
2020-04-24 07:57:12 +02:00
2015-11-05 19:34:48 -08:00
2020-01-12 11:22:40 +01:00