summaryrefslogtreecommitdiffstats
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2013-08-27 10:23:13 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-08-29 21:46:58 +0200
commit045f8cd8542d2fcd424a32fa10fcd3dd29c6d374 (patch)
treea4b3dc7cfe7d17f2a601bcbab76e4106aadcea5d /tools/perf/Makefile
parentperf tools: Add a function to calculate sample event size (diff)
downloadlinux-045f8cd8542d2fcd424a32fa10fcd3dd29c6d374.tar.xz
linux-045f8cd8542d2fcd424a32fa10fcd3dd29c6d374.zip
perf tests: Add a sample parsing test
Add a test that checks that sample parsing is correctly implemented. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> 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 <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1377591794-30553-12-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/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 845cc762735d..ecebfd00295e 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -439,6 +439,7 @@ PERFLIBS = $(LIB_FILE) $(LIBLK) $(LIBTRACEEVENT)
ifneq ($(OUTPUT),)
CFLAGS += -I$(OUTPUT)
endif
+LIB_OBJS += $(OUTPUT)tests/sample-parsing.o
ifdef NO_LIBELF
EXTLIBS := $(filter-out -lelf,$(EXTLIBS))