diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-04-17 17:21:44 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-04-18 12:45:10 -0700 |
commit | f709160d1724a4be469b985dcaadaa2aa8d5ce94 (patch) | |
tree | 88fd7880080791f6d7891ae3b251c707308d8235 /tools/lib/bpf/bpf_helpers.h | |
parent | 3055ddd654f65ebdd7860b4dfecd7e49e54c01b7 (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