aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-08-18 14:33:56 -0700
committerAlexei Starovoitov <[email protected]>2020-08-18 17:16:15 -0700
commit68b08647c7d56ea15114435c3023adc017d11b81 (patch)
treec79294afedb4b82d2879dc690a9a4d844cfdaf43 /tools/perf/scripts/python/bin
parent70785cfb19287b4b075a266887be5e024bf1206a (diff)
libbpf: Detect minimal BTF support and skip BTF loading, if missing
Detect whether a kernel supports any BTF at all, and if not, don't even attempt loading BTF to avoid unnecessary log messages like: libbpf: Error loading BTF: Invalid argument(22) libbpf: Error loading .BTF into kernel: -22. BTF is optional, ignoring. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions