Skip to content

Commit bd2fa12

Browse files
committed
test
1 parent 956fdb8 commit bd2fa12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ static void test_uretprobe_shadow_stack(void)
399399

400400
#define TRAMP "[uprobes-trampoline]"
401401

402-
__naked noinline void uprobe_test(void)
402+
noinline void uprobe_test(void)
403403
{
404404
asm volatile (" \n"
405405
".byte 0x0f, 0x1f, 0x44, 0x00, 0x00 \n"
@@ -502,6 +502,8 @@ static void test_uprobe_legacy(void)
502502
if (!ASSERT_OK_PTR(addr, "find_nop5"))
503503
return;
504504

505+
printf("KRAVA get_uprobe_offset %lx find %lx\n", (unsigned long) &uprobe_test, (unsigned long) addr);
506+
505507
offset = get_uprobe_offset(addr);
506508
if (!ASSERT_GE(offset, 0, "get_uprobe_offset"))
507509
return;

0 commit comments

Comments
 (0)