Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1680366

[PATCH 07/15] perf tests attr: Fix record dwarf test

From Jiri Olsa <jolsa@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 07/15] perf tests attr: Fix record dwarf test
Date 2017-07-03 17:00 +0200
Message-ID <tZaZt-2UC-57@gated-at.bofh.it> (permalink)
References <tZaZr-2UC-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Link: http://lkml.kernel.org/n/tip-ctnkeyqibfal31539rnyflkp@git.kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
 tools/perf/tests/attr/test-record-graph-dwarf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
2.9.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 07/15] perf tests attr: Fix record dwarf test Jiri Olsa <jolsa@kernel.org> - 2017-07-03 17:00 +0200

csiph-web