Repository navigation
Commit 4fdd595
committed
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: stable@vger.kernel.org
Fixes: 7ffbd48 ("tracing: Cache comms only after an event occurred")
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>1 parent 85550c8 commit 4fdd595
1 file changed
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2198 | 2198 | | |
2199 | 2199 | | |
2200 | 2200 | | |
2201 | | - | |
2202 | | - | |
2203 | | - | |
2204 | 2201 | | |
2205 | 2202 | | |
2206 | 2203 | | |
| |||
3996 | 3993 | | |
3997 | 3994 | | |
3998 | 3995 | | |
3999 | | - | |
4000 | | - | |
4001 | | - | |
4002 | 3996 | | |
4003 | 3997 | | |
4004 | 3998 | | |
| |||
4041 | 4035 | | |
4042 | 4036 | | |
4043 | 4037 | | |
4044 | | - | |
4045 | | - | |
4046 | | - | |
4047 | 4038 | | |
4048 | 4039 | | |
4049 | 4040 | | |
| |||
0 commit comments