tracing: fix command line to pid reverse map
authorCarsten Emde <Carsten.Emde@osadl.org>
Wed, 18 Mar 2009 08:00:41 +0000 (09:00 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 18 Mar 2009 09:10:18 +0000 (10:10 +0100)
commita635cf0497342978d417cae19d4a4823932977ff
treeafacf84eb85388801a04996ed62e000cdfad3bc2
parent50d88758a3f9787cbdbdbc030560b815721eab4b
tracing: fix command line to pid reverse map

Impact: fix command line to pid mapping

map_cmdline_to_pid[] is checked in trace_save_cmdline(), but never
updated. This results in stale pid to command line mappings and the
tracer output will associate the wrong comm string.

Signed-off-by: Carsten Emde <Carsten.Emde@osadl.org>
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>
kernel/trace/trace.c