-
- Downloads
perf evsel: Introduce perf_evlist
Killing two more perf wide global variables: nr_counters and evsel_list
as a list_head.
There are more operations that will need more fields in perf_evlist,
like the pollfd for polling all the fds in a list of evsel instances.
Use option->value to pass the evsel_list to parse_{events,filters}.
LKML-Reference: <new-submission>
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>
Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com>
Showing
- tools/perf/Makefile 2 additions, 0 deletionstools/perf/Makefile
- tools/perf/builtin-record.c 28 additions, 19 deletionstools/perf/builtin-record.c
- tools/perf/builtin-stat.c 19 additions, 15 deletionstools/perf/builtin-stat.c
- tools/perf/builtin-top.c 34 additions, 26 deletionstools/perf/builtin-top.c
- tools/perf/util/evlist.c 53 additions, 0 deletionstools/perf/util/evlist.c
- tools/perf/util/evlist.h 19 additions, 0 deletionstools/perf/util/evlist.h
- tools/perf/util/header.c 10 additions, 7 deletionstools/perf/util/header.c
- tools/perf/util/header.h 5 additions, 2 deletionstools/perf/util/header.h
- tools/perf/util/include/linux/list.h 1 addition, 0 deletionstools/perf/util/include/linux/list.h
- tools/perf/util/parse-events.c 9 additions, 42 deletionstools/perf/util/parse-events.c
- tools/perf/util/parse-events.h 0 additions, 7 deletionstools/perf/util/parse-events.h
Loading
Please register or sign in to comment