aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2014-07-14 02:50:03 -0400
committerJiri Olsa <jolsa@kernel.org>2014-07-18 03:09:53 -0400
commitfb578179a54553716afb0666a4d8c194acd313ba (patch)
tree1959b68ad8750d42f7fe5f3cefad910c97061e66 /tools/perf/tests
parent57480d2cd93579d665e57e144e1e63f7f02ef058 (diff)
perf tests: Update attr test with PERF_FLAG_FD_CLOEXEC flag
We not support PERF_FLAG_FD_CLOEXEC flag, updating attr tests accordingly. Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/n/tip-2mgzn5p9u74drmdmxo5unar0@git.kernel.org Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/tests')
-rw-r--r--tools/perf/tests/attr/base-record3
-rw-r--r--tools/perf/tests/attr/base-stat3
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/tests/attr/base-record b/tools/perf/tests/attr/base-record
index e9bd6391f2ae..f710b92ccff6 100644
--- a/tools/perf/tests/attr/base-record
+++ b/tools/perf/tests/attr/base-record
@@ -1,7 +1,8 @@
1[event] 1[event]
2fd=1 2fd=1
3group_fd=-1 3group_fd=-1
4flags=0 4# 0 or PERF_FLAG_FD_CLOEXEC flag
5flags=0|8
5cpu=* 6cpu=*
6type=0|1 7type=0|1
7size=96 8size=96
diff --git a/tools/perf/tests/attr/base-stat b/tools/perf/tests/attr/base-stat
index 91cd48b399f3..dc3ada2470c0 100644
--- a/tools/perf/tests/attr/base-stat
+++ b/tools/perf/tests/attr/base-stat
@@ -1,7 +1,8 @@
1[event] 1[event]
2fd=1 2fd=1
3group_fd=-1 3group_fd=-1
4flags=0 4# 0 or PERF_FLAG_FD_CLOEXEC flag
5flags=0|8
5cpu=* 6cpu=*
6type=0 7type=0
7size=96 8size=96