aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorThomas Renninger <[email protected]>2011-02-27 22:36:46 +0100
committerIngo Molnar <[email protected]>2011-02-28 08:56:15 +0100
commit54b08f5f90feebc9756d96e0c7bf2fdffe4af7c3 (patch)
tree1187a88a0bd3250b2093086e961403e2cb767b25 /tools/perf/util/trace-event-scripting.c
parente853072055a01d8b3c4dc89d231649189454c4f1 (diff)
perf timechart: Fix max number of cpus
Currently numcpus is determined in pid_put_sample which is only called on sched_switch/sched_wakeup sample processing. On a machine with a lot cpus I often saw the last cpu missing. Check for (max) numcpus on every event happening and in the beginning. -> fixes the issue for me. Signed-off-by: Thomas Renninger <[email protected]> Cc: Arjan van de Ven <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: [email protected] LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions