Home
last modified time | relevance | path

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

/Linux-v6.1/lib/
Dtest_kprobes.c23 static unsigned long target_return_address[2]; variable
68 if (!target_return_address[0]) in kprobe_stacktrace_internal_target()
69 target_return_address[0] = (unsigned long)__builtin_return_address(0); in kprobe_stacktrace_internal_target()
70 return target_return_address[0]; in kprobe_stacktrace_internal_target()
75 if (!target_return_address[1]) in kprobe_stacktrace_target()
76 target_return_address[1] = (unsigned long)__builtin_return_address(0); in kprobe_stacktrace_target()
81 return target_return_address[1]; in kprobe_stacktrace_target()
221 KUNIT_EXPECT_EQ(current_test, retval, target_return_address[1]); in stacktrace_return_handler()
232 if (stack_buf[i] == target_return_address[1]) in stacktrace_return_handler()
244 KUNIT_EXPECT_EQ(current_test, stack_buf[0], target_return_address[1]); in stacktrace_return_handler()
[all …]