Home
last modified time | relevance | path

Searched refs:cpu_events (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/kernel/events/
Dhw_breakpoint.c558 struct perf_event * __percpu *cpu_events, *bp; in register_wide_hw_breakpoint() local
562 cpu_events = alloc_percpu(typeof(*cpu_events)); in register_wide_hw_breakpoint()
563 if (!cpu_events) in register_wide_hw_breakpoint()
575 per_cpu(*cpu_events, cpu) = bp; in register_wide_hw_breakpoint()
580 return cpu_events; in register_wide_hw_breakpoint()
582 unregister_wide_hw_breakpoint(cpu_events); in register_wide_hw_breakpoint()
591 void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) in unregister_wide_hw_breakpoint() argument
596 unregister_hw_breakpoint(per_cpu(*cpu_events, cpu)); in unregister_wide_hw_breakpoint()
598 free_percpu(cpu_events); in unregister_wide_hw_breakpoint()
/Linux-v4.19/include/linux/
Dhw_breakpoint.h77 extern void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events);
122 unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) { } in unregister_wide_hw_breakpoint() argument
/Linux-v4.19/arch/x86/events/intel/
Dcore.c3989 x86_pmu.cpu_events = nhm_events_attrs; in intel_pmu_init()
4038 x86_pmu.cpu_events = slm_events_attrs; in intel_pmu_init()
4065 x86_pmu.cpu_events = glm_events_attrs; in intel_pmu_init()
4091 x86_pmu.cpu_events = glm_events_attrs; in intel_pmu_init()
4115 x86_pmu.cpu_events = nhm_events_attrs; in intel_pmu_init()
4154 x86_pmu.cpu_events = snb_events_attrs; in intel_pmu_init()
4194 x86_pmu.cpu_events = snb_events_attrs; in intel_pmu_init()
4229 x86_pmu.cpu_events = get_hsw_events_attrs(); in intel_pmu_init()
4268 x86_pmu.cpu_events = get_hsw_events_attrs(); in intel_pmu_init()
4327 x86_pmu.cpu_events = get_hsw_events_attrs(); in intel_pmu_init()
/Linux-v4.19/arch/x86/events/
Dperf_event.h576 struct attribute **cpu_events; member
Dcore.c1828 if (x86_pmu.cpu_events) { in init_hw_perf_events()
1831 tmp = merge_attr(x86_pmu_events_group.attrs, x86_pmu.cpu_events); in init_hw_perf_events()