Lines Matching defs:pmu

5 #include <pmu-events/pmu-events.h>
7 #include "util/pmu.h"
233 * The identifier specified in tools/perf/pmu-events/arch/xxx/mapfile
358 const struct pmu_table_entry *pmu,
364 .pmu = &big_c_string[pmu->pmu_name.offset],
367 for (uint32_t i = 0; i < pmu->num_entries; i++) {
368 decompress_event(pmu->entries[i].offset, &pe);
379 const struct pmu_table_entry *pmu,
385 .pmu = &big_c_string[pmu->pmu_name.offset],
387 int low = 0, high = pmu->num_entries - 1;
392 decompress_event(pmu->entries[mid].offset, &pe);
422 struct perf_pmu *pmu,
431 if (pmu && !perf_pmu__name_wildcard_match(pmu, pmu_name))
442 struct perf_pmu *pmu,
452 if (pmu && !perf_pmu__name_wildcard_match(pmu, pmu_name))
463 struct perf_pmu *pmu)
471 if (perf_pmu__name_wildcard_match(pmu, pmu_name))
478 const struct pmu_table_entry *pmu,
484 .pmu = &big_c_string[pmu->pmu_name.offset],
487 for (uint32_t i = 0; i < pmu->num_entries; i++) {
488 decompress_metric(pmu->entries[i].offset, &pm);
499 const struct pmu_table_entry *pmu,
505 .pmu = &big_c_string[pmu->pmu_name.offset],
507 int low = 0, high = pmu->num_entries - 1;
512 decompress_metric(pmu->entries[mid].offset, &pm);
556 struct perf_pmu *pmu,
566 if (pmu && !perf_pmu__name_wildcard_match(pmu, pmu_name))
631 static const struct pmu_events_map *map_for_pmu(struct perf_pmu *pmu)
635 if (pmu)
636 cpu = perf_cpu_map__min(pmu->cpus);
640 const struct pmu_events_table *perf_pmu__find_events_table(struct perf_pmu *pmu)
642 const struct pmu_events_map *map = map_for_pmu(pmu);
647 if (!pmu)
654 if (perf_pmu__name_wildcard_match(pmu, pmu_name))
696 /*pmu=*/ NULL, fn, data);
734 /*pmu=*/ NULL, fn, data);