aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2017-07-03 16:50:22 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-07-18 23:14:18 -0300
commitd9115e924088b714bb801713751bf7922d799f95 (patch)
tree0353edfbc4e5dcb318fd7b7361daffb4a0ecaeed /tools/perf/tests/attr
parentperf tests attr: Add 1s for exclude_kernel and task base bits (diff)
downloadlinux-dev-d9115e924088b714bb801713751bf7922d799f95.tar.xz
linux-dev-d9115e924088b714bb801713751bf7922d799f95.zip
perf tests attr: Fix record dwarf test
Following commit: commit 5c0cf22477ea ("perf record: Store data mmaps for dwarf unwind") have enabled address sampling for dwarf unwind, we need to reflect that in this test by adding ADDR sample_type and enabling mmap_data. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Thomas Richter <tmricht@linux.vnet.ibm.com> Link: http://lkml.kernel.org/r/20170703145030.12903-8-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/attr')
-rw-r--r--tools/perf/tests/attr/test-record-graph-dwarf3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/tests/attr/test-record-graph-dwarf b/tools/perf/tests/attr/test-record-graph-dwarf
index d6f324ea578c..8321c602dc38 100644
--- a/tools/perf/tests/attr/test-record-graph-dwarf
+++ b/tools/perf/tests/attr/test-record-graph-dwarf
@@ -3,8 +3,9 @@ command = record
args = --call-graph dwarf -- kill >/dev/null 2>&1
[event:base-record]
-sample_type=12583
+sample_type=45359
exclude_callchain_user=1
sample_stack_user=8192
# TODO different for each arch, no support for that now
sample_regs_user=*
+mmap_data=1