Skip to content

Commit 32491b3

Browse files
committed
selftests/bpf: Test BPF_LINK_UPDATE behavior for tracing links
Exercise a series of edge cases and happy path scenarios across a gamut of link types (fentry, fmod_ret, fexit, freplace) to test BPF_LINK_UPDATE behavior for tracing links. This test swaps fentry/fmod_ret/fexit programs in-place and makes sure that the sequence and attach cookie are as expected based on the link positions. Signed-off-by: Jordan Rife <[email protected]>
1 parent 9c2d435 commit 32491b3

File tree

2 files changed

+593
-0
lines changed

2 files changed

+593
-0
lines changed

0 commit comments

Comments
 (0)