Skip to content

Commit d9115e9

Browse files
olsajiriacmel
authored andcommitted
perf tests attr: Fix record dwarf test
Following commit: commit 5c0cf22 ("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>
1 parent 5ced95b commit d9115e9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎tools/perf/tests/attr/test-record-graph-dwarf‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ command = record
33
args = --call-graph dwarf -- kill >/dev/null 2>&1
44

55
[event:base-record]
6-
sample_type=12583
6+
sample_type=45359
77
exclude_callchain_user=1
88
sample_stack_user=8192
99
# TODO different for each arch, no support for that now
1010
sample_regs_user=*
11+
mmap_data=1

0 commit comments

Comments
 (0)