perf test parse-events: Use evsel__match for legacy events

Switch from the test's assert_hw/test_config to the common
evsel__match code that appropriately handles events with both legacy
and sysfs/json encoding.

For tests asserting that a config value matches that placed in the
perf_event_attr just directly compare the config values.

Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: James Clark <james.clark@linaro.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
This commit is contained in:
Ian Rogers
2025-10-15 23:59:11 +09:00
committed by Namhyung Kim
parent 787bd57817
commit ecfcc6a825
File diff suppressed because it is too large Load Diff