diff options
author | Jiri Olsa <jolsa@kernel.org> | 2014-07-14 02:50:03 -0400 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-07-18 03:09:53 -0400 |
commit | fb578179a54553716afb0666a4d8c194acd313ba (patch) | |
tree | 1959b68ad8750d42f7fe5f3cefad910c97061e66 /tools/perf/tests | |
parent | 57480d2cd93579d665e57e144e1e63f7f02ef058 (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-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 @@ | |||
1 | [event] | 1 | [event] |
2 | fd=1 | 2 | fd=1 |
3 | group_fd=-1 | 3 | group_fd=-1 |
4 | flags=0 | 4 | # 0 or PERF_FLAG_FD_CLOEXEC flag |
5 | flags=0|8 | ||
5 | cpu=* | 6 | cpu=* |
6 | type=0|1 | 7 | type=0|1 |
7 | size=96 | 8 | 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 @@ | |||
1 | [event] | 1 | [event] |
2 | fd=1 | 2 | fd=1 |
3 | group_fd=-1 | 3 | group_fd=-1 |
4 | flags=0 | 4 | # 0 or PERF_FLAG_FD_CLOEXEC flag |
5 | flags=0|8 | ||
5 | cpu=* | 6 | cpu=* |
6 | type=0 | 7 | type=0 |
7 | size=96 | 8 | size=96 |