diff options
author | Ian Rogers <[email protected]> | 2024-01-03 09:01:59 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-01-03 17:55:01 -0300 |
commit | ec5257d99e6894d65fae772ca43c53b3d6855115 (patch) | |
tree | 56e839f440b5bb402358a44c43cc7dd9e12e72ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | eb00697b91646de22d6d9b4e6a5fadf4495fdf69 (diff) |
perf x86 test: Add hybrid test for conflicting legacy/sysfs event
The cpu-cycles event is both a legacy event and declared in
/sys/devices/cpu_core/events/cpu-cycles. The cycles event is a legacy
event but with no sysfs version.
Add a test that the sysfs version is preferred to the legacy for
cpu-cycles, while for cycles we use the legacy version.
Suggested-by: Kan Liang <[email protected]>
Signed-off-by: Ian Rogers <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions