perf tools: move perf_pmus__find_core_pmu() prototype to pmus.h
authorThomas Falcon <thomas.falcon@intel.com>
Thu, 12 Jun 2025 16:36:58 +0000 (11:36 -0500)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 26 Jun 2025 17:51:31 +0000 (10:51 -0700)
commitac871873bac736edd3945ade222d2902c0b10ac2
tree3fc5de7b45dc1d7f3764911adb3042b157144772
parentf6109fb6f5d7fb9403cecfc75302bbf47ed83b8d
perf tools: move perf_pmus__find_core_pmu() prototype to pmus.h

perf_pmus__find_core_pmu() is implemented in util/pmus.c but its
prototpye is in util/pmu.h. Move it to util/pmus.h.

Suggested-by: Ian Rogers <irogers@google.com>
Signed-off-by: Thomas Falcon <thomas.falcon@intel.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250612163659.1357950-1-thomas.falcon@intel.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/pmu.h
tools/perf/util/pmus.h