Repository navigation
Commit b313bd9
tracing: Do not stop recording comms if the trace file is being read
commit 4fdd595 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: 7ffbd48 ("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>1 parent adb3849 commit b313bd9
1 file changed
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2195 | 2195 | | |
2196 | 2196 | | |
2197 | 2197 | | |
2198 | | - | |
2199 | | - | |
2200 | | - | |
2201 | 2198 | | |
2202 | 2199 | | |
2203 | 2200 | | |
| |||
3683 | 3680 | | |
3684 | 3681 | | |
3685 | 3682 | | |
3686 | | - | |
3687 | | - | |
3688 | | - | |
3689 | 3683 | | |
3690 | 3684 | | |
3691 | 3685 | | |
| |||
3728 | 3722 | | |
3729 | 3723 | | |
3730 | 3724 | | |
3731 | | - | |
3732 | | - | |
3733 | | - | |
3734 | 3725 | | |
3735 | 3726 | | |
3736 | 3727 | | |
| |||
0 commit comments