Lines Matching refs:perf_ibs_op
181 static struct perf_ibs perf_ibs_op; variable
187 if (perf_ibs_op.pmu.type == type) in get_ibs_pmu()
188 return &perf_ibs_op; in get_ibs_pmu()
244 event->attr.type = perf_ibs_op.pmu.type; in forward_event_to_ibs()
436 if (perf_ibs == &perf_ibs_op && (ibs_caps & IBS_CAPS_OPCNTEXT)) { in perf_ibs_start()
681 static struct perf_ibs perf_ibs_op = { variable
1008 (perf_ibs == &perf_ibs_op && in perf_ibs_get_offset_max()
1065 check_rip = (perf_ibs == &perf_ibs_op && (ibs_caps & IBS_CAPS_RIPINVALIDCHK)); in perf_ibs_handle_irq()
1082 if (perf_ibs == &perf_ibs_op) { in perf_ibs_handle_irq()
1121 if (perf_ibs == &perf_ibs_op) in perf_ibs_handle_irq()
1137 if (perf_ibs == &perf_ibs_op) { in perf_ibs_handle_irq()
1162 handled += perf_ibs_handle_irq(&perf_ibs_op, regs); in perf_ibs_nmi_handler()
1217 perf_ibs_op.config_mask |= IBS_OP_CNT_CTL; in perf_ibs_op_init()
1220 perf_ibs_op.max_period |= IBS_OP_MAX_CNT_EXT_MASK; in perf_ibs_op_init()
1221 perf_ibs_op.config_mask |= IBS_OP_MAX_CNT_EXT_MASK; in perf_ibs_op_init()
1222 perf_ibs_op.cnt_mask |= IBS_OP_MAX_CNT_EXT_MASK; in perf_ibs_op_init()
1226 perf_ibs_op.config_mask |= IBS_OP_L3MISSONLY; in perf_ibs_op_init()
1228 perf_ibs_op.pmu.attr_groups = empty_attr_groups; in perf_ibs_op_init()
1229 perf_ibs_op.pmu.attr_update = op_attr_update; in perf_ibs_op_init()
1231 return perf_ibs_pmu_init(&perf_ibs_op, "ibs_op"); in perf_ibs_op_init()
1254 perf_pmu_unregister(&perf_ibs_op.pmu); in perf_event_ibs_init()
1255 free_percpu(perf_ibs_op.pcpu); in perf_event_ibs_init()
1256 perf_ibs_op.pcpu = NULL; in perf_event_ibs_init()