perf, sched migration: Parameterize cpu height and spacing
authorNikhil Rao <ncrao@google.com>
Thu, 22 Jul 2010 02:46:27 +0000 (19:46 -0700)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sun, 1 Aug 2010 23:31:56 +0000 (01:31 +0200)
commit0cddf56aa841713b37c10c5ab673d6164fce9833
treeb3b04f0086696d563b44e31cee994976c6deed51
parentbe6d947691376218e788418e2656fc9a3e43b9bc
perf, sched migration: Parameterize cpu height and spacing

Without vertical zoom, it is not possible to see all CPUs in a trace
taken on a larger machine. This patch parameterizes the height and
spacing of CPUs so that you can fit more cpus into the screen.

Ideally we should dynamically size/space the CPU rectangles with some
minimum threshold. Until then, this patch is a stop-gap.

Signed-off-by: Nikhil Rao <ncrao@google.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Tom Zanussi <tzanussi@gmail.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
tools/perf/scripts/python/sched-migration.py