perf tests: Add a DRM PMU test
authorIan Rogers <irogers@google.com>
Tue, 24 Jun 2025 23:18:37 +0000 (16:18 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 25 Jun 2025 18:12:35 +0000 (11:12 -0700)
commit45cd84bd7afc42c4a2ca630c11f246974fd1e73c
treeb4dcd338a554b7e4372385272d280936646a623f
parent28917cb17f9df9c2fc83449feefa375609b38fa4
perf tests: Add a DRM PMU test

The test opens any DRM devices so that the shell has fdinfo files
containing the DRM data. The test then uses perf stat to make sure the
events can be read.

Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250624231837.179536-4-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/shell/drm_pmu.sh [new file with mode: 0755]