]> www.infradead.org Git - users/dwmw2/linux.git/commit
perf tests: Fix hwmon parsing with PMU name test
authorIan Rogers <irogers@google.com>
Thu, 21 Nov 2024 00:09:55 +0000 (16:09 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 22 Nov 2024 21:38:39 +0000 (13:38 -0800)
commit6d78089da9805787a72e52604ad4b2ed7380be3f
tree97d7b72b1ed5d07380b4e008535a647b3e54df41
parent62878b400f5b02416368eda361277c045c675466
perf tests: Fix hwmon parsing with PMU name test

Incorrectly the hwmon with PMU name test didn't pass "true". Fix and
address issue with hwmon_pmu__config_terms needing to load events - a
load bearing assert fired. Also fix missing list deletion when putting
the hwmon test PMU and lower some debug warnings to make the hwmon PMU
less spammy in verbose mode.

Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20241121000955.536930-1-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/hwmon_pmu.c
tools/perf/util/hwmon_pmu.c