Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

perf test pmu: Remove unused test_pmus

Commit aa1551f299ba ("perf test pmu: Refactor format test and exposed
test APIs") added the 'test_pmus' list, but didn't use it.
(It seems to put them on the other_pmus list?)

Remove it.

Fixes: aa1551f299ba414c ("perf test pmu: Refactor format test and exposed test APIs")
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Cc: Ian Rogers <irogers@google.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Link: https://lore.kernel.org/lkml/20240727175919.1041468-1-linux@treblig.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Dr. David Alan Gilbert and committed by
Arnaldo Carvalho de Melo
156e8dcf feab89bf

-3
-3
tools/perf/tests/pmu.c
··· 18 18 #include <sys/stat.h> 19 19 #include <sys/types.h> 20 20 21 - /* Fake PMUs created in temp directory. */ 22 - static LIST_HEAD(test_pmus); 23 - 24 21 /* Cleanup test PMU directory. */ 25 22 static int test_pmu_put(const char *dir, struct perf_pmu *pmu) 26 23 {