Add utils and gt-c6 tests that utilize PMU counters. Cc: Riana Tauro <riana.tauro@xxxxxxxxx> Cc: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx> Cc: Lucas De Marchi <lucas.demarchi@xxxxxxxxx> Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@xxxxxxxxx> Vinay Belgaumkar (3): lib/igt_core: Add tolerance and measured_usleep utils lib/igt_perf: Add utils to extract PMU event info tests/xe/pmu: Add pmu tests for gt-c6 lib/igt_core.c | 20 ++++ lib/igt_core.h | 20 ++++ lib/igt_perf.c | 70 ++++++++++++ lib/igt_perf.h | 2 + tests/intel/drm_fdinfo.c | 55 ++------- tests/intel/gem_exec_nop.c | 6 - tests/intel/gem_spin_batch.c | 6 - tests/intel/i915_pm_rc6_residency.c | 42 ++----- tests/intel/perf_pmu.c | 15 +-- tests/intel/sysfs_heartbeat_interval.c | 17 +-- tests/intel/xe_pm_residency.c | 29 +---- tests/intel/xe_pmu.c | 149 +++++++++++++++++++++++++ tests/meson.build | 1 + 13 files changed, 284 insertions(+), 148 deletions(-) create mode 100644 tests/intel/xe_pmu.c -- 2.38.1