diff options
author | Jiri Olsa <jolsa@kernel.org> | 2014-07-14 08:50:03 +0200 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-07-18 09:09:53 +0200 |
commit | fb578179a54553716afb0666a4d8c194acd313ba (patch) | |
tree | 1959b68ad8750d42f7fe5f3cefad910c97061e66 /tools/perf/tests | |
parent | perf tools: Enable close-on-exec flag on perf file descriptor (diff) | |
download | linux-fb578179a54553716afb0666a4d8c194acd313ba.tar.xz linux-fb578179a54553716afb0666a4d8c194acd313ba.zip |
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-record | 3 | ||||
-rw-r--r-- | tools/perf/tests/attr/base-stat | 3 |
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 @@ [event] fd=1 group_fd=-1 -flags=0 +# 0 or PERF_FLAG_FD_CLOEXEC flag +flags=0|8 cpu=* type=0|1 size=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 @@ [event] fd=1 group_fd=-1 -flags=0 +# 0 or PERF_FLAG_FD_CLOEXEC flag +flags=0|8 cpu=* type=0 size=96 |