]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Refactor all_tids to hold nr and the map
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 3 Jan 2011 19:53:33 +0000 (17:53 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Jan 2011 02:24:16 +0000 (00:24 -0200)
commita57e91bc881d57adf32ab58e6df975d184591072
tree0085e9391dc68d00b8260d9d36e8b0d1baf66098
parentf461d864825e4d84547188675e0a41ed18fcc08e
perf tools: Refactor all_tids to hold nr and the map

So that later, we can pass the thread_map instance instead of
(thread_num, thread_map) for things like perf_evsel__open and friends,
just like was done with cpu_map.

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/thread.c
tools/perf/util/thread.h