]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf test parse-events: Add evsel test helper
authorIan Rogers <irogers@google.com>
Sun, 5 Oct 2025 18:24:30 +0000 (11:24 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 15 Oct 2025 14:59:12 +0000 (23:59 +0900)
commitb4a63b0e73709bb8eb1a5ed10599fb2256f7ba5f
treecf2d0fc57379400e99406ff40f237e17ba308e07
parentc4b34fe0021ffc5b6eab8411a6b9d0cefed89b35
perf test parse-events: Add evsel test helper

Add TEST_ASSERT_EVSEL to dump the failing evsel in the event of a
failure.

Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: James Clark <james.clark@linaro.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/parse-events.c