diff options
| author | Adrian Hunter <adrian.hunter@intel.com> | 2013-09-04 16:18:16 -0400 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-09-05 15:17:46 -0400 |
| commit | 53a277e5c9b55ed3e91345fb98e5f57d6d70efd6 (patch) | |
| tree | eefca32637de51d449727db453d6ebca3543e591 /tools/perf/Makefile | |
| parent | 20c5f10eb5d1767087dd8eccfe4efe325e61cded (diff) | |
perf tools: Add test for parsing with no sample_id_all bit
Add a test for parsing a non-sample event when there is more than one
selected event but no sample_id_all bit set.
The test fails because of a bug in the evlist logic. That is fixed in a
separate patch.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1378325897-3840-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Makefile')
| -rw-r--r-- | tools/perf/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index c5dc1ad1b8d7..3a0ff7fb71b6 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
| @@ -394,6 +394,8 @@ ifeq ($(ARCH),x86) | |||
| 394 | LIB_OBJS += $(OUTPUT)tests/perf-time-to-tsc.o | 394 | LIB_OBJS += $(OUTPUT)tests/perf-time-to-tsc.o |
| 395 | endif | 395 | endif |
| 396 | LIB_OBJS += $(OUTPUT)tests/code-reading.o | 396 | LIB_OBJS += $(OUTPUT)tests/code-reading.o |
| 397 | LIB_OBJS += $(OUTPUT)tests/sample-parsing.o | ||
| 398 | LIB_OBJS += $(OUTPUT)tests/parse-no-sample-id-all.o | ||
| 397 | 399 | ||
| 398 | BUILTIN_OBJS += $(OUTPUT)builtin-annotate.o | 400 | BUILTIN_OBJS += $(OUTPUT)builtin-annotate.o |
| 399 | BUILTIN_OBJS += $(OUTPUT)builtin-bench.o | 401 | BUILTIN_OBJS += $(OUTPUT)builtin-bench.o |
| @@ -439,7 +441,6 @@ PERFLIBS = $(LIB_FILE) $(LIBLK) $(LIBTRACEEVENT) | |||
| 439 | ifneq ($(OUTPUT),) | 441 | ifneq ($(OUTPUT),) |
| 440 | CFLAGS += -I$(OUTPUT) | 442 | CFLAGS += -I$(OUTPUT) |
| 441 | endif | 443 | endif |
| 442 | LIB_OBJS += $(OUTPUT)tests/sample-parsing.o | ||
| 443 | 444 | ||
| 444 | ifdef NO_LIBELF | 445 | ifdef NO_LIBELF |
| 445 | EXTLIBS := $(filter-out -lelf,$(EXTLIBS)) | 446 | EXTLIBS := $(filter-out -lelf,$(EXTLIBS)) |
