diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-03-18 08:58:44 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-18 10:10:17 +0100 |
commit | 50d88758a3f9787cbdbdbc030560b815721eab4b (patch) | |
tree | 02e5c47c5c5bd05e578d1883ccaa1e3bc13c703a /kernel/lockdep_internals.h | |
parent | 2c7eea4c62ba090b7f4583c3d7337ea0019be900 (diff) | |
download | kernel-crypto-50d88758a3f9787cbdbdbc030560b815721eab4b.tar.gz kernel-crypto-50d88758a3f9787cbdbdbc030560b815721eab4b.tar.xz kernel-crypto-50d88758a3f9787cbdbdbc030560b815721eab4b.zip |
tracing: fix trace_find_cmdline()
Impact: prevent stale command line output
In case there is no valid command line mapping for a pid
trace_find_cmdline() returns without updating the comm buffer. The
trace dump keeps the previous entry which results in confusing trace
output:
<idle>-0 [000] 280.702056 ....
<idle>-23456 [000] 280.702080 ....
Update the comm buffer with "<...>" when no mapping is found.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Steven Rostedt <srostedt@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/lockdep_internals.h')
0 files changed, 0 insertions, 0 deletions