projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ccf80e
)
perf timechart: Use tid not pid for COMM change
author
Arjan van de Ven
<
[email protected]
>
Sat, 16 Jan 2010 20:53:19 +0000
(12:53 -0800)
committer
Ingo Molnar
<
[email protected]
>
Sun, 17 Jan 2010 06:16:36 +0000
(07:16 +0100)
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 <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Arnaldo Carvalho de Melo <
[email protected]
>
Cc: Frederic Weisbecker <
[email protected]
>
CC: <
[email protected]
>
LKML-Reference: <
20100116125319
.
34ac3edd
@infradead.org>
Signed-off-by: Ingo Molnar <
[email protected]
>
tools/perf/builtin-timechart.c
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-timechart.c
b/tools/perf/builtin-timechart.c
index a589a43112d67f7b764ae02365a1b53e2e8119a7..3f8bbcfb1e9bcd0fed97470a38e918f9b7677230 100644
(file)
--- a/
tools/perf/builtin-timechart.c
+++ b/
tools/perf/builtin-timechart.c
@@
-280,7
+280,7
@@
static u64 cpus_pstate_state[MAX_CPUS];
static int process_comm_event(event_t *event, struct perf_session *session __used)
{
- pid_set_comm(event->comm.
p
id, event->comm.comm);
+ pid_set_comm(event->comm.
t
id, event->comm.comm);
return 0;
}