diff options
| author | David Vernet <[email protected]> | 2023-01-20 02:18:44 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2023-01-23 19:32:20 +0000 |
| commit | 7525daeefc8c20902bac63f89603096c76808fe0 (patch) | |
| tree | 3b49a334c308aecda56e9b29becb2b0426b594cf /tools/lib/bpf/bpf_tracing.h | |
| parent | Merge branch 'xdp: hints via kfuncs' (diff) | |
| download | kernel-7525daeefc8c20902bac63f89603096c76808fe0.tar.gz kernel-7525daeefc8c20902bac63f89603096c76808fe0.zip | |
selftests/bpf: Use __failure macro in task kfunc testsuite
In commit 537c3f66eac1 ("selftests/bpf: add generic BPF program tester-loader"),
a new mechanism was added to the BPF selftest framework to allow testsuites to
use macros to define expected failing testcases.
This allows any testsuite which tests verification failure to remove a good
amount of boilerplate code. This patch updates the task_kfunc selftest suite
to use these new macros.
Signed-off-by: David Vernet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_tracing.h')
0 files changed, 0 insertions, 0 deletions
