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)
committerIngo Molnar <mingo@elte.hu>
Sun, 17 Jan 2010 06:16:36 +0000 (07:16 +0100)
commit8f06d7e6e1bbfb32698d6d455583ab7460c090e2
tree77c7de5bbfd9ba3f5f34e46ae61a7333f50816fd
parent6ccf80eb15ccaca4d3f1ab5162b9ded5eecd9971
perf timechart: Use tid not pid for COMM change

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>
CC: <stable@kernel.org>
LKML-Reference: <20100116125319.34ac3edd@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-timechart.c