diff options
author | Jiri Olsa <jolsa@redhat.com> | 2013-05-24 07:16:37 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-05-29 08:11:10 -0400 |
commit | 8e72a67a7fcbdaa45d1b08f8ce601a37a4e9e163 (patch) | |
tree | bcc95bda0494747b8a5061a4d186bef31a24f2e5 /tools/perf/tests/attr/test-record-data | |
parent | 4ddc929c29d5c07c0b463cdf2300774e20dbdbfd (diff) |
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/perf/tests/attr/test-record-data')
-rw-r--r-- | tools/perf/tests/attr/test-record-data | 5 |
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 6627c3e7534a..716e143b5291 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 | |||
4 | 4 | ||
5 | [event:base-record] | 5 | [event:base-record] |
6 | sample_period=4000 | 6 | sample_period=4000 |
7 | sample_type=271 | 7 | |
8 | # sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME | | ||
9 | # PERF_SAMPLE_ADDR | PERF_SAMPLE_PERIOD | PERF_SAMPLE_DATA_SRC | ||
10 | sample_type=33039 | ||
8 | mmap_data=1 | 11 | mmap_data=1 |