diff options
| author | Andrii Nakryiko <[email protected]> | 2023-03-01 17:54:17 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2023-03-01 19:13:42 +0000 |
| commit | 35cbf7f9156893f55b885f6fc678b2ab8b0d8918 (patch) | |
| tree | f5c108a99370d8163a38b36802eb2aed6b7f92e3 /tools/lib/bpf/zip.c | |
| parent | Merge branch 'libbpf: fix several issues reported by static analysers' (diff) | |
| download | kernel-35cbf7f9156893f55b885f6fc678b2ab8b0d8918.tar.gz kernel-35cbf7f9156893f55b885f6fc678b2ab8b0d8918.zip | |
selftests/bpf: Support custom per-test flags and multiple expected messages
Extend __flag attribute by allowing to specify one of the following:
* BPF_F_STRICT_ALIGNMENT
* BPF_F_ANY_ALIGNMENT
* BPF_F_TEST_RND_HI32
* BPF_F_TEST_STATE_FREQ
* BPF_F_SLEEPABLE
* BPF_F_XDP_HAS_FRAGS
* Some numeric value
Extend __msg attribute by allowing to specify multiple exepcted messages.
All messages are expected to be present in the verifier log in the
order of application.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Eduard Zingerman <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
[ Eduard: added commit message, formatting, comments ]
Diffstat (limited to 'tools/lib/bpf/zip.c')
0 files changed, 0 insertions, 0 deletions
