On 8/18/25 6:51 PM, Vincent Li wrote:
from bpftool github repo issue [0], when Linux distribution kernel.kptr_restrict is set to 2, bpftool prog dump jited returns "no instructions returned", this message can be puzzling to bpftool users who is not familiar with kernel BPF internal, so add small hint for bpftool users to check kernel.kptr_restrict setting. Set kernel.kptr_restrict to expose kernel address to allow bpftool prog dump jited to dump the jited bpf program instructions. [0]: https://github.com/libbpf/bpftool/issues/184 Signed-off-by: Vincent Li <vincent.mc.li@xxxxxxxxx.
I fixed up the email typo and rewrote the commit message a bit when applying to bpf-next. Thanks, Daniel