diff options
| author | Ian Rogers <irogers@google.com> | 2025-10-05 11:24:24 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-10-15 23:59:11 +0900 |
| commit | ecfcc6a825dfacdb4f3cf38fe4b463396fa0d029 (patch) | |
| tree | f629554d8b747deb334f48e1767f5d8b0a1af671 /tools/perf/python | |
| parent | perf evsel: Improvements to __evsel__match (diff) | |
| download | linux-ecfcc6a825dfacdb4f3cf38fe4b463396fa0d029.tar.gz linux-ecfcc6a825dfacdb4f3cf38fe4b463396fa0d029.zip | |
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>
Diffstat (limited to 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions
