Skip to content

add small hint for no instruction returned #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vincentmli
Copy link

from issue 0, when kernel.kptr_restrict set to 2, bpftool prog dump jited returns "no instructions returned", add small hint for user to check the kernel.kptr_restrict setting and set to 1 or 0 allows bpftool prog dump jited to dump the jited instructions.

from issue [0], when kernel.kptr_restrict set to 2, bpftool prog dump jited
returns "no instructions returned", add small hint for user to check the
kernel.kptr_restrict setting and set to 1 or 0 allows bpftool prog dump
jited to dump the jited instructions.

[0]: libbpf#184

Signed-off-by: Vincent Li <[email protected]>
@qmonnet
Copy link
Member

qmonnet commented Aug 7, 2025

Thanks Vincent! Looks OK, but this is a patch that you need to send to the BPF kernel mailing list, and that I will sync to this repo after it's been merged into the Linux repository.

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