perf test: Test 2 libpfm4 error cases
Ian Rogers
reviewerPATCH 1/1 perf test: Test 2 libpfm4 error cases
Proposed in:
https://lore.kernel.org/lkml/[email protected]/
Signed-off-by Ian Rogers <[email protected]>
--- tools/perf/tests/pfm.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
tools/perf/tests/pfm.c +10 -0
@@ -155,6 +155,16 @@ static int test__pfm_group(void) .nr_events = 3, .nr_groups = 1, }, + { + .events = "instructions}", + .nr_events = 1, + .nr_groups = 0, + }, + { + .events = "{{instructions}}", + .nr_events = 0, + .nr_groups = 0, + }, };for (i =0 ; i <ARRAY_SIZE (table); i++) {
Signature · 1 line
2.31.1.751.gd2f1c929bd-goog
Ian Rogers
reviewerQuoted 5 lines · Ian Rogers
Proposed in:
https://lore.kernel.org/lkml/[email protected]/Signed-off-by Ian Rogers <[email protected]>
Ping.
Thanks!
Ian
Quoted 28 lines
--- tools/perf/tests/pfm.c | 10 ++++++++++ 1 file changed, 10 insertions(+)tools/perf/tests/pfm.c +10
-1@@ -155,6 +155,16 @@ static int test__pfm_group(void) .nr_events = 3, .nr_groups = 1, }, + { + .events = "instructions}", + .nr_events = 1, + .nr_groups = 0, + }, + { + .events = "{{instructions}}", + .nr_events = 0, + .nr_groups = 0, + }, };for (i =0 ; i <ARRAY_SIZE (table); i++) { --2.31.1.751.gd2f1c929bd-goog
Em Thu, May 27, 2021 at 08:52:14AM -0700, Ian Rogers escreveu:
Quoted 8 lines · Ian Rogers
Quoted 5 lines
Proposed in:
https://lore.kernel.org/lkml/[email protected]/Signed-off-by Ian Rogers <[email protected]>Ping.
Thanks, applied.
- Arnaldo
Quoted 31 lines
Thanks!
IanQuoted 28 lines
--- tools/perf/tests/pfm.c | 10 ++++++++++ 1 file changed, 10 insertions(+)tools/perf/tests/pfm.c +10
-1@@ -155,6 +155,16 @@ static int test__pfm_group(void) .nr_events = 3, .nr_groups = 1, }, + { + .events = "instructions}", + .nr_events = 1, + .nr_groups = 0, + }, + { + .events = "{{instructions}}", + .nr_events = 0, + .nr_groups = 0, + }, };for (i =0 ; i <ARRAY_SIZE (table); i++) { --2.31.1.751.gd2f1c929bd-goog
Signature · 1 line
- Arnaldo