diff options
| author | Andrii Nakryiko <[email protected]> | 2023-03-01 19:13:42 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2023-03-01 19:13:43 +0000 |
| commit | d69b5a90e17dca24aad3311c6a020cc692d8711c (patch) | |
| tree | f5c108a99370d8163a38b36802eb2aed6b7f92e3 /tools/lib/bpf/Build | |
| parent | Merge branch 'libbpf: fix several issues reported by static analysers' (diff) | |
| parent | selftests/bpf: Support custom per-test flags and multiple expected messages (diff) | |
| download | kernel-d69b5a90e17dca24aad3311c6a020cc692d8711c.tar.gz kernel-d69b5a90e17dca24aad3311c6a020cc692d8711c.zip | |
Merge branch 'selftests/bpf: support custom per-test flags and multiple expected messages'
Eduard Zingerman says:
====================
This patch allows to specify program flags and multiple verifier log
messages for the test_loader kind of tests. For example:
tools/testing/selftets/bpf/progs/foobar.c:
SEC("tc")
__success __log_level(7)
__msg("first message")
__msg("next message")
__flag(BPF_F_ANY_ALIGNMENT)
int buz(struct __sk_buff *skb)
{ ... }
It was developed by Andrii Nakryiko ([1]), I reused it in a
"test_verifier tests migration to inline assembly" patch series ([2]),
but the series is currently stuck on my side.
Andrii asked to spin this particular patch separately ([3]).
[1] https://lore.kernel.org/bpf/CAEf4BzZH0ZxorCi7nPDbRqSK9f+410RooNwNJGwfw8=0a5i1nw@mail.gmail.com/
[2] https://lore.kernel.org/bpf/[email protected]/
[3] https://lore.kernel.org/bpf/[email protected]/T/#m52e806c5a679a2aa8f484d011be7ec105939127a
====================
Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'tools/lib/bpf/Build')
0 files changed, 0 insertions, 0 deletions
