perf timechart: Use tid not pid for COMM change
authorArjan van de Ven <arjan@linux.intel.com>
Sat, 16 Jan 2010 20:53:19 +0000 (12:53 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 25 Jan 2010 18:49:44 +0000 (10:49 -0800)
commit5a20267b12fec85520acc1e839ee61f2ea16413d
tree0e767614e3c5cbae6016497981d1f4b063378509
parentf2fa92b29da64ead309293a048fe41776338a280
perf timechart: Use tid not pid for COMM change

commit 8f06d7e6e1bbfb32698d6d455583ab7460c090e2 upstream.

A process that changes its comm field, does this on a per kernel
task struct basis. The timechart tool used, incorrectly, the pid
to track this, and should have used the tid instead...

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20100116125319.34ac3edd@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
tools/perf/builtin-timechart.c