Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935364AbdGTIzO (ORCPT ); Thu, 20 Jul 2017 04:55:14 -0400 Received: from terminus.zytor.com ([65.50.211.136]:34125 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934824AbdGTIzH (ORCPT ); Thu, 20 Jul 2017 04:55:07 -0400 Date: Thu, 20 Jul 2017 01:52:54 -0700 From: tip-bot for Jiri Olsa Message-ID: Cc: linux-kernel@vger.kernel.org, dsahern@gmail.com, namhyung@kernel.org, jolsa@kernel.org, tglx@linutronix.de, hpa@zytor.com, tmricht@linux.vnet.ibm.com, mingo@kernel.org, acme@redhat.com, a.p.zijlstra@chello.nl Reply-To: acme@redhat.com, mingo@kernel.org, a.p.zijlstra@chello.nl, namhyung@kernel.org, tglx@linutronix.de, jolsa@kernel.org, hpa@zytor.com, tmricht@linux.vnet.ibm.com, dsahern@gmail.com, linux-kernel@vger.kernel.org In-Reply-To: <20170703145030.12903-8-jolsa@kernel.org> References: <20170703145030.12903-8-jolsa@kernel.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tests attr: Fix record dwarf test Git-Commit-ID: d9115e924088b714bb801713751bf7922d799f95 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1563 Lines: 42 Commit-ID: d9115e924088b714bb801713751bf7922d799f95 Gitweb: http://git.kernel.org/tip/d9115e924088b714bb801713751bf7922d799f95 Author: Jiri Olsa AuthorDate: Mon, 3 Jul 2017 16:50:22 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 18 Jul 2017 23:14:18 -0300 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 Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Thomas Richter Link: http://lkml.kernel.org/r/20170703145030.12903-8-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- 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 d6f324e..8321c60 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