Home
last modified time | relevance | path

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

/linux-4.4.14/kernel/events/
Dhw_breakpoint.c503 struct perf_event * __percpu *cpu_events, *bp; in register_wide_hw_breakpoint() local
507 cpu_events = alloc_percpu(typeof(*cpu_events)); in register_wide_hw_breakpoint()
508 if (!cpu_events) in register_wide_hw_breakpoint()
520 per_cpu(*cpu_events, cpu) = bp; in register_wide_hw_breakpoint()
525 return cpu_events; in register_wide_hw_breakpoint()
527 unregister_wide_hw_breakpoint(cpu_events); in register_wide_hw_breakpoint()
536 void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) in unregister_wide_hw_breakpoint() argument
541 unregister_hw_breakpoint(per_cpu(*cpu_events, cpu)); in unregister_wide_hw_breakpoint()
543 free_percpu(cpu_events); in unregister_wide_hw_breakpoint()
/linux-4.4.14/include/linux/
Dhw_breakpoint.h73 extern void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events);
114 unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) { } in unregister_wide_hw_breakpoint() argument
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel.c3330 x86_pmu.cpu_events = nhm_events_attrs; in intel_pmu_init()
3393 x86_pmu.cpu_events = nhm_events_attrs; in intel_pmu_init()
3430 x86_pmu.cpu_events = snb_events_attrs; in intel_pmu_init()
3466 x86_pmu.cpu_events = snb_events_attrs; in intel_pmu_init()
3497 x86_pmu.cpu_events = hsw_events_attrs; in intel_pmu_init()
3532 x86_pmu.cpu_events = hsw_events_attrs; in intel_pmu_init()
3557 x86_pmu.cpu_events = hsw_events_attrs; in intel_pmu_init()
Dperf_event.h565 struct attribute **cpu_events; member
Dperf_event.c1732 if (x86_pmu.cpu_events) { in init_hw_perf_events()
1735 tmp = merge_attr(x86_pmu_events_group.attrs, x86_pmu.cpu_events); in init_hw_perf_events()