selftests/bpf: livepatch_trampoline: skip when prerequisites are missing#11333
Open
kernel-patches-daemon-bpf[bot] wants to merge 1 commit intobpf-next_basefrom
Open
selftests/bpf: livepatch_trampoline: skip when prerequisites are missing#11333kernel-patches-daemon-bpf[bot] wants to merge 1 commit intobpf-next_basefrom
kernel-patches-daemon-bpf[bot] wants to merge 1 commit intobpf-next_basefrom
Conversation
Author
|
Upstream branch: 099bded |
Author
|
Upstream branch: 099bded |
b7a4184 to
a8524cb
Compare
94aca0b to
980a66f
Compare
Author
|
Upstream branch: bd2e02e |
a8524cb to
e945e39
Compare
980a66f to
026b5c1
Compare
Author
|
Upstream branch: bd2e02e |
e945e39 to
37a27d5
Compare
026b5c1 to
b72a510
Compare
Author
|
Upstream branch: 0c55d48 |
37a27d5 to
e13974b
Compare
b72a510 to
ebefa82
Compare
livepatch_trampoline relies on livepatch sysfs and livepatch-sample.ko. When CONFIG_LIVEPATCH is disabled or the samples module isn't built, the test fails with ENOENT and causes false failures in minimal CI configs. Skip the test when livepatch sysfs or the sample module is unavailable. Also avoid writing to livepatch sysfs when it's not present. Signed-off-by: Sun Jian <sun.jian.kdev@gmail.com> Acked-by: Jiri Olsa <jolsa@kernel.org>
Author
|
Upstream branch: e95e85b |
e13974b to
8d1445e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request for series with
subject: selftests/bpf: livepatch_trampoline: skip when prerequisites are missing
version: 4
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1063582