diff options
author | Kan Liang <[email protected]> | 2021-09-30 12:52:46 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-10-05 14:55:38 -0300 |
commit | 0b6c5371c03c2b17963e1abd7ed0e3f1f950cba9 (patch) | |
tree | 36dd8a14c5281c8ece37fb14b0cd98d194280c64 /lib/netdev-notifier-error-inject.c | |
parent | 9fce636e5c7dd84873f096ae4d094fb6bd797f9f (diff) |
perf tests attr: Add missing topdown metrics events
The Topdown metrics events were added as 'perf stat' default events
since commit 42641d6f4d15e6db ("perf stat: Add Topdown metrics events as
default events").
However, the perf attr tests were not updated
accordingly.
The perf attr test fails on the platform which supports Topdown metrics.
# perf test 17
17: Setup struct perf_event_attr :FAILED!
Add Topdown metrics events into perf attr test cases. Make them optional
since they are only available on newer platforms.
Fixes: 42641d6f4d15e6db ("perf stat: Add Topdown metrics events as default events")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Kan Liang <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions