Files
Steven Rostedt (VMware) 4a1221feb4 [ALPS06674756] tracing: Do not stop recording comms if the trace file is
commit 4fdd595e 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 theres no reason to not trace it if the trace file is opened.

MTK-Commit-Id: 9db52c2ad420f80e6e0582383500cfd1a8288a9d

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>
Feature: IRQ Monitor
CR-Id: ALPS06674756
Signed-off-by: Andress Kuo <andress.kuo@mediatek.com>
Change-Id: I77778e641c81251d526a273ffdcd19018ed9dbad
2022-02-24 14:23:34 +08:00
..