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


Groups > linux.kernel > #1680365 > unrolled thread

[PATCH 06/15] perf tests attr: Add 1s for exclude_kernel and task base bits

Started byJiri Olsa <jolsa@kernel.org>
First post2017-07-03 17:00 +0200
Last post2017-07-03 17:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 06/15] perf tests attr: Add 1s for exclude_kernel and task base bits Jiri Olsa <jolsa@kernel.org> - 2017-07-03 17:00 +0200

#1680365 — [PATCH 06/15] perf tests attr: Add 1s for exclude_kernel and task base bits

FromJiri Olsa <jolsa@kernel.org>
Date2017-07-03 17:00 +0200
Subject[PATCH 06/15] perf tests attr: Add 1s for exclude_kernel and task base bits
Message-ID<tZaZs-2UC-55@gated-at.bofh.it>
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.

Link: http://lkml.kernel.org/n/tip-7cdkhcuov5izzgr4u4tvde22@git.kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
 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 7e6d74946e04..cdf3adf7d389 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 f4cf148f14cb..ff9b33d4ae9e 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
-- 
2.9.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web