perf tests: Update attr test with PERF_FLAG_FD_CLOEXEC flag
authorJiri Olsa <jolsa@kernel.org>
Mon, 14 Jul 2014 06:50:03 +0000 (08:50 +0200)
committerJiri Olsa <jolsa@kernel.org>
Fri, 18 Jul 2014 07:09:53 +0000 (09:09 +0200)
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>
tools/perf/tests/attr/base-record
tools/perf/tests/attr/base-stat

index e9bd6391f2aeb09d2f29445a8f55052b0845c419..f710b92ccff6774ef93bfdb2117b492339098ff8 100644 (file)
@@ -1,7 +1,8 @@
 [event]
 fd=1
 group_fd=-1
-flags=0
+# 0 or PERF_FLAG_FD_CLOEXEC flag
+flags=0|8
 cpu=*
 type=0|1
 size=96
index 91cd48b399f3b8006f67fa5711eff84129bee2d3..dc3ada2470c01cd223e45a379b485af64b2e196d 100644 (file)
@@ -1,7 +1,8 @@
 [event]
 fd=1
 group_fd=-1
-flags=0
+# 0 or PERF_FLAG_FD_CLOEXEC flag
+flags=0|8
 cpu=*
 type=0
 size=96