perf tests attr: Fix record dwarf test
authorJiri Olsa <jolsa@kernel.org>
Mon, 3 Jul 2017 14:50:22 +0000 (16:50 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Jul 2017 02:14:18 +0000 (23:14 -0300)
commitd9115e924088b714bb801713751bf7922d799f95
tree0353edfbc4e5dcb318fd7b7361daffb4a0ecaeed
parent5ced95b2374b0fb3c1d0367c6e8cf82d41292990
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>
tools/perf/tests/attr/test-record-graph-dwarf