diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2021-09-30 22:52:46 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-10-05 20:55:38 +0300 |
commit | 0b6c5371c03c2b17963e1abd7ed0e3f1f950cba9 (patch) | |
tree | 36dd8a14c5281c8ece37fb14b0cd98d194280c64 /tools/perf/tests/.gitignore | |
parent | 9fce636e5c7dd84873f096ae4d094fb6bd797f9f (diff) | |
download | linux-0b6c5371c03c2b17963e1abd7ed0e3f1f950cba9.tar.xz |
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 <oliver.sang@intel.com>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lore.kernel.org/lkml/1633031566-176517-1-git-send-email-kan.liang@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/.gitignore')
0 files changed, 0 insertions, 0 deletions