Lines Matching refs:pe
64 struct perf_event_attr pe; in test__bp_signal_overflow() local
84 memset(&pe, 0, sizeof(struct perf_event_attr)); in test__bp_signal_overflow()
85 pe.type = PERF_TYPE_BREAKPOINT; in test__bp_signal_overflow()
86 pe.size = sizeof(struct perf_event_attr); in test__bp_signal_overflow()
88 pe.config = 0; in test__bp_signal_overflow()
89 pe.bp_type = HW_BREAKPOINT_X; in test__bp_signal_overflow()
90 pe.bp_addr = (unsigned long) test_function; in test__bp_signal_overflow()
91 pe.bp_len = sizeof(long); in test__bp_signal_overflow()
93 pe.sample_period = THRESHOLD; in test__bp_signal_overflow()
94 pe.sample_type = PERF_SAMPLE_IP; in test__bp_signal_overflow()
95 pe.wakeup_events = 1; in test__bp_signal_overflow()
97 pe.disabled = 1; in test__bp_signal_overflow()
98 pe.exclude_kernel = 1; in test__bp_signal_overflow()
99 pe.exclude_hv = 1; in test__bp_signal_overflow()
101 fd = sys_perf_event_open(&pe, 0, -1, -1, in test__bp_signal_overflow()
104 pr_debug("failed opening event %llx\n", pe.config); in test__bp_signal_overflow()