OSDN Git Service

selftests/bpf: Add tests for uprobe auto-attach via skeleton
authorAlan Maguire <alan.maguire@oracle.com>
Wed, 30 Mar 2022 15:26:40 +0000 (16:26 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 4 Apr 2022 02:56:01 +0000 (19:56 -0700)
commit579c3196b21800538e0cfd512a05619ee80fb19a
treed7a5856aa921c106e1faf8f8c33cba8450292298
parentba7499bc9d52f7ea93301a48c05caa370c68b213
selftests/bpf: Add tests for uprobe auto-attach via skeleton

tests that verify auto-attach works for function entry/return for
local functions in program and library functions in a library.

Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1648654000-21758-6-git-send-email-alan.maguire@oracle.com
tools/testing/selftests/bpf/prog_tests/uprobe_autoattach.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_uprobe_autoattach.c [new file with mode: 0644]