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>
Showing
- tools/perf/builtin-record.c 15 additions, 24 deletionstools/perf/builtin-record.c
- tools/perf/builtin-stat.c 17 additions, 24 deletionstools/perf/builtin-stat.c
- tools/perf/builtin-top.c 13 additions, 22 deletionstools/perf/builtin-top.c
- tools/perf/util/thread.c 29 additions, 14 deletionstools/perf/util/thread.c
- tools/perf/util/thread.h 14 additions, 1 deletiontools/perf/util/thread.h
Loading
Please register or sign in to comment