Lines Matching refs:kprobe
57 ASSERT_EQ(info.perf_event.kprobe.offset, offset, "kprobe_offset"); in verify_perf_link_info()
61 ASSERT_EQ(info.perf_event.kprobe.addr, addr + entry_offset, in verify_perf_link_info()
64 if (!info.perf_event.kprobe.func_name) { in verify_perf_link_info()
65 ASSERT_EQ(info.perf_event.kprobe.name_len, 0, "name_len"); in verify_perf_link_info()
66 info.perf_event.kprobe.func_name = ptr_to_u64(&buf); in verify_perf_link_info()
67 info.perf_event.kprobe.name_len = sizeof(buf); in verify_perf_link_info()
71 err = strncmp(u64_to_ptr(info.perf_event.kprobe.func_name), KPROBE_FUNC, in verify_perf_link_info()
117 info.perf_event.kprobe.func_name = 0x1; /* invalid address */ in kprobe_fill_invalid_user_buffer()
121 info.perf_event.kprobe.name_len = 64; in kprobe_fill_invalid_user_buffer()
125 info.perf_event.kprobe.func_name = 0; in kprobe_fill_invalid_user_buffer()
129 ASSERT_EQ(info.perf_event.kprobe.addr, 0, "func_addr"); in kprobe_fill_invalid_user_buffer()
130 ASSERT_EQ(info.perf_event.kprobe.offset, 0, "func_offset"); in kprobe_fill_invalid_user_buffer()