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

Add TEST_ASSERT_EVLIST to dump the failing evlist in the event of a
failure.

Add the macro to a number of tests not currently checking the evlist
length.

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