summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2013-05-24 13:16:37 +0200
committerChanho Park <chanho61.park@samsung.com>2014-03-20 17:34:27 +0900
commit4670bd849d2490f05820e6b29c06e954b66daba9 (patch)
tree279f15f1f1e9964669ee94b2d3e7fa6837926f61 /tools
parentcb4b565f386f44101f85d9b05de1c5015b549dbf (diff)
downloadlinux-3.10-4670bd849d2490f05820e6b29c06e954b66daba9.tar.gz
linux-3.10-4670bd849d2490f05820e6b29c06e954b66daba9.tar.bz2
linux-3.10-4670bd849d2490f05820e6b29c06e954b66daba9.zip
perf tests: Fix attr test for record -d option
The sample type for '-d' option is changed, because of the memory profiling patches from Stephane. The '-d' now adds PERF_SAMPLE_DATA_SRC sample_type. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Namhyung Kim <namhyung@kernel.org> 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/1369394201-20044-2-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/tests/attr/test-record-data5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/tests/attr/test-record-data b/tools/perf/tests/attr/test-record-data
index 6627c3e7534..716e143b529 100644
--- a/tools/perf/tests/attr/test-record-data
+++ b/tools/perf/tests/attr/test-record-data
@@ -4,5 +4,8 @@ args = -d kill >/dev/null 2>&1
[event:base-record]
sample_period=4000
-sample_type=271
+
+# sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME |
+# PERF_SAMPLE_ADDR | PERF_SAMPLE_PERIOD | PERF_SAMPLE_DATA_SRC
+sample_type=33039
mmap_data=1