Searched refs:sh_pmu (Results 1 – 4 of 4) sorted by relevance
36 static struct sh_pmu *sh_pmu __read_mostly;57 return !!sh_pmu; in sh_pmu_initialized()62 if (!sh_pmu) in perf_pmu_name()65 return sh_pmu->name; in perf_pmu_name()71 if (!sh_pmu) in perf_num_counters()74 return sh_pmu->num_events; in perf_num_counters()96 if (!sh_pmu->cache_events) in hw_perf_cache_event()109 ev = (*sh_pmu->cache_events)[type][op][result]; in hw_perf_cache_event()153 config = attr->config & sh_pmu->raw_event_mask; in __hw_perf_event_init()161 if (attr->config >= sh_pmu->max_events) in __hw_perf_event_init()[all …]
9 struct sh_pmu { struct26 extern int register_sh_pmu(struct sh_pmu *); argument
53 static struct sh_pmu sh4a_pmu;273 static struct sh_pmu sh4a_pmu = {
28 static struct sh_pmu sh7750_pmu;239 static struct sh_pmu sh7750_pmu = {