1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __PMUS_H 3 #define __PMUS_H 4 5 extern struct list_head pmus; 6 struct perf_pmu; 7 8 #define perf_pmus__for_each_pmu(pmu) list_for_each_entry(pmu, &pmus, list) 9 10 const struct perf_pmu *perf_pmus__pmu_for_pmu_filter(const char *str); 11 12 #endif /* __PMUS_H */ 13