Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935452AbdGTIyu (ORCPT ); Thu, 20 Jul 2017 04:54:50 -0400 Received: from terminus.zytor.com ([65.50.211.136]:55879 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935088AbdGTIyr (ORCPT ); Thu, 20 Jul 2017 04:54:47 -0400 Date: Thu, 20 Jul 2017 01:52:34 -0700 From: tip-bot for Jiri Olsa Message-ID: Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, jolsa@kernel.org, namhyung@kernel.org, a.p.zijlstra@chello.nl, tmricht@linux.vnet.ibm.com, acme@redhat.com, tglx@linutronix.de, mingo@kernel.org, dsahern@gmail.com Reply-To: a.p.zijlstra@chello.nl, namhyung@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org, jolsa@kernel.org, dsahern@gmail.com, mingo@kernel.org, tglx@linutronix.de, tmricht@linux.vnet.ibm.com, acme@redhat.com In-Reply-To: <20170703145030.12903-7-jolsa@kernel.org> References: <20170703145030.12903-7-jolsa@kernel.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tests attr: Add 1s for exclude_kernel and task base bits Git-Commit-ID: 5ced95b2374b0fb3c1d0367c6e8cf82d41292990 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: 1703 Lines: 51 Commit-ID: 5ced95b2374b0fb3c1d0367c6e8cf82d41292990 Gitweb: http://git.kernel.org/tip/5ced95b2374b0fb3c1d0367c6e8cf82d41292990 Author: Jiri Olsa AuthorDate: Mon, 3 Jul 2017 16:50:21 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 18 Jul 2017 23:14:17 -0300 perf tests attr: Add 1s for exclude_kernel and task base bits There's an event open fallback which set exclude_kernel=1 in case use does not have enough privileges. Adding both 0|1 for this attribute, because we don't know what value it is. 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-7-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/tests/attr/base-record | 2 +- tools/perf/tests/attr/base-stat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/tests/attr/base-record b/tools/perf/tests/attr/base-record index 7e6d749..cdf3adf7 100644 --- a/tools/perf/tests/attr/base-record +++ b/tools/perf/tests/attr/base-record @@ -15,7 +15,7 @@ inherit=1 pinned=0 exclusive=0 exclude_user=0 -exclude_kernel=0 +exclude_kernel=0|1 exclude_hv=0 exclude_idle=0 mmap=1 diff --git a/tools/perf/tests/attr/base-stat b/tools/perf/tests/attr/base-stat index f4cf148..ff9b33d 100644 --- a/tools/perf/tests/attr/base-stat +++ b/tools/perf/tests/attr/base-stat @@ -15,7 +15,7 @@ inherit=1 pinned=0 exclusive=0 exclude_user=0 -exclude_kernel=0 +exclude_kernel=0|1 exclude_hv=0 exclude_idle=0 mmap=0