From: Thomas Gleixner Date: Wed, 18 Mar 2009 07:58:44 +0000 (+0100) Subject: tracing: fix trace_find_cmdline() X-Git-Tag: v2.6.30-rc1~2^2~22^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50d88758a3f9787cbdbdbc030560b815721eab4b;p=pandora-kernel.git 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: -0 [000] 280.702056 .... -23456 [000] 280.702080 .... Update the comm buffer with "<...>" when no mapping is found. Signed-off-by: Thomas Gleixner Cc: Steven Rostedt Cc: Frederic Weisbecker LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed