Commit f6a9820d authored by Jiri Olsa's avatar Jiri Olsa Committed by Arnaldo Carvalho de Melo

perf tests attr: Fix group stat tests

We started to use group read whenever it's possible:

  82bf311e 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: default avatarJiri Olsa <jolsa@kernel.org>
Tested-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Thomas-Mich Richter <tmricht@linux.vnet.ibm.com>
LPU-Reference: 20170928160633.GA26973@krava
Link: http://lkml.kernel.org/n/tip-1ko2zc4nph93d8lfwjyk9ivz@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 0c6b4994
...@@ -6,6 +6,7 @@ ret = 1 ...@@ -6,6 +6,7 @@ ret = 1
[event-1:base-stat] [event-1:base-stat]
fd=1 fd=1
group_fd=-1 group_fd=-1
read_format=3|15
[event-2:base-stat] [event-2:base-stat]
fd=2 fd=2
...@@ -13,3 +14,4 @@ group_fd=1 ...@@ -13,3 +14,4 @@ group_fd=1
config=1 config=1
disabled=0 disabled=0
enable_on_exec=0 enable_on_exec=0
read_format=3|15
...@@ -6,6 +6,7 @@ ret = 1 ...@@ -6,6 +6,7 @@ ret = 1
[event-1:base-stat] [event-1:base-stat]
fd=1 fd=1
group_fd=-1 group_fd=-1
read_format=3|15
[event-2:base-stat] [event-2:base-stat]
fd=2 fd=2
...@@ -13,3 +14,4 @@ group_fd=1 ...@@ -13,3 +14,4 @@ group_fd=1
config=1 config=1
disabled=0 disabled=0
enable_on_exec=0 enable_on_exec=0
read_format=3|15
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment