aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorFlorian Lehner <[email protected]>2020-12-04 19:18:27 +0100
committerAndrii Nakryiko <[email protected]>2020-12-04 11:53:17 -0800
commit7d17167244f5415bc6bc90f5bb0074b6d79676b4 (patch)
tree0658af6a647d9ec23cdcad90a63d77010d4faf9d /scripts/gcc-plugins/sancov_plugin.c
parent2fa3515cc0d3cc8413465e55b85e55aeab090812 (diff)
selftests/bpf: Print reason when a tester could not run a program
Commit 8184d44c9a57 ("selftests/bpf: skip verifier tests for unsupported program types") added a check to skip unsupported program types. As bpf_probe_prog_type can change errno, do_single_test should save it before printing a reason why a supported BPF program type failed to load. Fixes: 8184d44c9a57 ("selftests/bpf: skip verifier tests for unsupported program types") Signed-off-by: Florian Lehner <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions