Skip to content

Commit f6a9820

Browse files
Jiri Olsaacmel
authored andcommitted
perf tests attr: Fix group stat tests
We started to use group read whenever it's possible: 82bf311 perf stat: Use group read for event groups That breaks some of attr tests, this change adds the new possible read_format value. Signed-off-by: Jiri Olsa <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Hendrik Brueckner <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Thomas-Mich Richter <[email protected]> LPU-Reference: 20170928160633.GA26973@krava Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 0c6b499 commit f6a9820

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tools/perf/tests/attr/test-stat-group

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ ret = 1
66
[event-1:base-stat]
77
fd=1
88
group_fd=-1
9+
read_format=3|15
910

1011
[event-2:base-stat]
1112
fd=2
1213
group_fd=1
1314
config=1
1415
disabled=0
1516
enable_on_exec=0
17+
read_format=3|15

tools/perf/tests/attr/test-stat-group1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ ret = 1
66
[event-1:base-stat]
77
fd=1
88
group_fd=-1
9+
read_format=3|15
910

1011
[event-2:base-stat]
1112
fd=2
1213
group_fd=1
1314
config=1
1415
disabled=0
1516
enable_on_exec=0
17+
read_format=3|15

0 commit comments

Comments
 (0)