perf tests: Update attr test with PERF_FLAG_FD_CLOEXEC flag
tip-bot for Jiri Olsa
merge botCommit-ID: fb578179a54553716afb0666a4d8c194acd313ba Gitweb: http://git.kernel.org/tip/fb578179a54553716afb0666a4d8c194acd313ba Author: Jiri Olsa <[email protected]> AuthorDate: Mon, 14 Jul 2014 08:50:03 +0200 Committer: Jiri Olsa <[email protected]> CommitDate: Fri, 18 Jul 2014 09:09:53 +0200
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 <[email protected]>
Cc Corey Ashford <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Signed-off-by Jiri Olsa <[email protected]>
--- tools/perf/tests/attr/base-record | 3 ++- tools/perf/tests/attr/base-stat | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
tools/perf/tests/attr/base-record +2 -1
@@ -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
tools/perf/tests/attr/base-stat +2 -1
@@ -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