summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/bpf_helpers.h
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2023-04-17 17:21:44 -0700
committerAlexei Starovoitov <ast@kernel.org>2023-04-18 12:45:10 -0700
commitf709160d1724a4be469b985dcaadaa2aa8d5ce94 (patch)
tree88fd7880080791f6d7891ae3b251c707308d8235 /tools/lib/bpf/bpf_helpers.h
parent3055ddd654f65ebdd7860b4dfecd7e49e54c01b7 (diff)
libbpf: report vmlinux vs module name when dealing with ksyms
Currently libbpf always reports "kernel" as a source of ksym BTF type, which is ambiguous given ksym's BTF can come from either vmlinux or kernel module BTFs. Make this explicit and log module name, if used BTF is from kernel module. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20230418002148.3255690-3-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions