]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Refactor cpumap to hold nr and the map
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 3 Jan 2011 19:49:48 +0000 (17:49 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Jan 2011 02:23:55 +0000 (00:23 -0200)
commitf461d864825e4d84547188675e0a41ed18fcc08e
tree7d6bd6f6805ff68f4fab3c0e08b7139cc5206b7d
parent4485096265c29bc47d6f6591c0bc5930887dbce4
perf tools: Refactor cpumap to hold nr and the map

So that later, we can pass the cpu_map instance instead of (nr_cpus, cpu_map)
for things like perf_evsel__open and friends.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-stat.c
tools/perf/builtin-top.c
tools/perf/util/cpumap.c
tools/perf/util/cpumap.h