Home
last modified time | relevance | path

Searched refs:sh_pmu (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/arch/sh/kernel/
Dperf_event.c39 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 …]
/linux-4.4.14/arch/sh/include/asm/
Dperf_event.h8 struct sh_pmu { struct
25 extern int register_sh_pmu(struct sh_pmu *); argument
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/
Dperf_event.c56 static struct sh_pmu sh4a_pmu;
276 static struct sh_pmu sh4a_pmu = {
/linux-4.4.14/arch/sh/kernel/cpu/sh4/
Dperf_event.c31 static struct sh_pmu sh7750_pmu;
242 static struct sh_pmu sh7750_pmu = {