Home
last modified time | relevance | path

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

/linux/lib/
H A Dtest_kprobes.c24 static unsigned long target_return_address[2]; variable
78 if (!target_return_address[0]) in kprobe_stacktrace_internal_target()
79 target_return_address[0] = (unsigned long)__builtin_return_address(0); in kprobe_stacktrace_internal_target()
80 return target_return_address[0]; in kprobe_stacktrace_internal_target()
85 if (!target_return_address[1]) in kprobe_stacktrace_target()
86 target_return_address[1] = (unsigned long)__builtin_return_address(0); in kprobe_stacktrace_target()
91 return target_return_address[1]; in kprobe_stacktrace_target()
254 KUNIT_EXPECT_EQ(current_test, retval, target_return_address[1]); in stacktrace_return_handler()
265 if (stack_buf[i] == target_return_address[1]) in stacktrace_return_handler()
277 KUNIT_EXPECT_EQ(current_test, stack_buf[0], target_return_address[1]); in stacktrace_return_handler()
[all …]