Searched refs:sh_pmu (Results 1 – 4 of 4) sorted by relevance
39 static struct sh_pmu *sh_pmu __read_mostly;60 return !!sh_pmu; in sh_pmu_initialized()65 if (!sh_pmu) in perf_pmu_name()68 return sh_pmu->name; in perf_pmu_name()74 if (!sh_pmu) in perf_num_counters()77 return sh_pmu->num_events; in perf_num_counters()99 if (!sh_pmu->cache_events) in hw_perf_cache_event()112 ev = (*sh_pmu->cache_events)[type][op][result]; in hw_perf_cache_event()156 config = attr->config & sh_pmu->raw_event_mask; in __hw_perf_event_init()164 if (attr->config >= sh_pmu->max_events) in __hw_perf_event_init()[all …]
8 struct sh_pmu { struct25 extern int register_sh_pmu(struct sh_pmu *); argument
56 static struct sh_pmu sh4a_pmu;276 static struct sh_pmu sh4a_pmu = {
31 static struct sh_pmu sh7750_pmu;242 static struct sh_pmu sh7750_pmu = {