Skip to content

tar-artifacts: Include samples/livepatch/livepatch-sample.ko - #204

Merged
theihor merged 1 commit into
libbpf:mainfrom
liu-song-6:master
Oct 23, 2025
Merged

tar-artifacts: Include samples/livepatch/livepatch-sample.ko#204
theihor merged 1 commit into
libbpf:mainfrom
liu-song-6:master

Conversation

@liu-song-6

@liu-song-6 liu-song-6 commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

livepatch and bpf trampoline both use ftrace functions. Special
cares are needed to make the two work together.

To add selftests for livepatch + trampoline, a livepatch kernel module is
needed. Enable compiling samples/livepatch/livepatch-sample.ko and
include it in the tar artifacts.

Signed-off-by: Song Liu song@kernel.org

@liu-song-6
liu-song-6 force-pushed the master branch 3 times, most recently from 25f8f07 to 86b9f83 Compare October 23, 2025 15:56
livepatch and bpf trampoline both use ftrace direct functions. Special
cares are needed to make the two work together.

To add selftests for livepatch + trampoline, a livepatch kernel module is
needed. Enable compiling samples/livepatch/livepatch-sample.ko and
include it in the tar artifacts.

Signed-off-by: Song Liu <song@kernel.org>
@liu-song-6 liu-song-6 changed the title test-livepatch tar-artifacts: Include samples/livepatch/livepatch-sample.ko Oct 23, 2025
@theihor
theihor merged commit a39dd17 into libbpf:main Oct 23, 2025
18 checks passed
theihor added a commit to kernel-patches/vmtest that referenced this pull request Oct 23, 2025
See libbpf/ci#204

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
theihor added a commit to kernel-patches/vmtest that referenced this pull request Oct 23, 2025
See libbpf/ci#204

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants