Lines Matching refs:perf_event
14 #include <linux/perf_event.h>
19 static DEFINE_PER_CPU(struct perf_event *, bp_on_reg[XCHAL_NUM_IBREAK]);
22 static DEFINE_PER_CPU(struct perf_event *, wp_on_reg[XCHAL_NUM_DBREAK]);
49 * Construct an arch_hw_breakpoint from a perf_event.
51 int hw_breakpoint_arch_parse(struct perf_event *bp,
134 static int alloc_slot(struct perf_event **slot, size_t n,
135 struct perf_event *bp)
148 static void set_ibreak_regs(int reg, struct perf_event *bp)
158 static void set_dbreak_regs(int reg, struct perf_event *bp)
172 int arch_install_hw_breakpoint(struct perf_event *bp)
193 static int free_slot(struct perf_event **slot, size_t n,
194 struct perf_event *bp)
207 void arch_uninstall_hw_breakpoint(struct perf_event *bp)
230 void hw_breakpoint_pmu_read(struct perf_event *bp)
269 struct perf_event *bp = this_cpu_ptr(wp_on_reg)[i];
281 struct perf_event **bp = this_cpu_ptr(bp_on_reg);
290 struct perf_event **bp = this_cpu_ptr(wp_on_reg);