#5329·bpftrace

Don't load all kernel module BTFs when using kprobes with source location

Author: jordalgoCreated Sep 8, 2026Updated Sep 8, 2026
Labelsgood first issue

This is a follow-up task. Right now all loaded kernel module BTFs are loaded when a kprobe source location is used because the target is empty and this gets treated like a wildcard in list_modules.

More info here: https://github.com/bpftrace/bpftrace/pull/5308#issuecomment-5572428195