diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-01-11 17:56:53 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-01-22 16:56:28 -0500 |
commit | 361c99a661a78ed22264649440e87fe4fe8da1f2 (patch) | |
tree | a60bc86f132608f2d41c800760b41f6f54f8e7af /tools/perf/Makefile | |
parent | 00e99a49f6f3a6b5a84ba8bf8f632c9b974bea7a (diff) |
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>
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r-- | tools/perf/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 7141c42e1469..f20bc6f85611 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
@@ -402,6 +402,7 @@ LIB_H += util/debug.h | |||
402 | LIB_H += util/debugfs.h | 402 | LIB_H += util/debugfs.h |
403 | LIB_H += util/event.h | 403 | LIB_H += util/event.h |
404 | LIB_H += util/evsel.h | 404 | LIB_H += util/evsel.h |
405 | LIB_H += util/evlist.h | ||
405 | LIB_H += util/exec_cmd.h | 406 | LIB_H += util/exec_cmd.h |
406 | LIB_H += util/types.h | 407 | LIB_H += util/types.h |
407 | LIB_H += util/levenshtein.h | 408 | LIB_H += util/levenshtein.h |
@@ -440,6 +441,7 @@ LIB_OBJS += $(OUTPUT)util/ctype.o | |||
440 | LIB_OBJS += $(OUTPUT)util/debugfs.o | 441 | LIB_OBJS += $(OUTPUT)util/debugfs.o |
441 | LIB_OBJS += $(OUTPUT)util/environment.o | 442 | LIB_OBJS += $(OUTPUT)util/environment.o |
442 | LIB_OBJS += $(OUTPUT)util/event.o | 443 | LIB_OBJS += $(OUTPUT)util/event.o |
444 | LIB_OBJS += $(OUTPUT)util/evlist.o | ||
443 | LIB_OBJS += $(OUTPUT)util/evsel.o | 445 | LIB_OBJS += $(OUTPUT)util/evsel.o |
444 | LIB_OBJS += $(OUTPUT)util/exec_cmd.o | 446 | LIB_OBJS += $(OUTPUT)util/exec_cmd.o |
445 | LIB_OBJS += $(OUTPUT)util/help.o | 447 | LIB_OBJS += $(OUTPUT)util/help.o |