summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMilan Landaverde <milan@mdaverde.com>2022-05-04 12:13:32 -0400
committerAndrii Nakryiko <andrii@kernel.org>2022-05-09 17:16:05 -0700
commitb06a92a18d4651c983c60d83935a76b2d47d85e0 (patch)
treefcfdc05cea7c63cb457c771f560047bfa8371197 /samples
parent6d9f63b9df5ed7ffe10ac70025f408d28b3dd260 (diff)
bpftool: Output message if no helpers found in feature probing
Currently in libbpf, we have hardcoded program types that are not supported for helper function probing (e.g. tracing, ext, lsm). Due to this (and other legitimate failures), bpftool feature probe returns empty for those program type helper functions. Instead of implying to the user that there are no helper functions available for a program type, we output a message to the user explaining that helper function probing failed for that program type. Signed-off-by: Milan Landaverde <milan@mdaverde.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20220504161356.3497972-3-milan@mdaverde.com
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions