diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-03-02 15:50:01 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-04 11:14:31 -0800 |
commit | 6f876e75d316a75957f3d43c3a8c2a6fe9bc18b2 (patch) | |
tree | 18daf7a4352dd17753e8c6d70c7940bfab73a7ed /kernel/bpf/verifier.c | |
parent | 567da5d253cd6b41c6d015adac1af653725bef9d (diff) | |
download | lwn-6f876e75d316a75957f3d43c3a8c2a6fe9bc18b2.tar.gz lwn-6f876e75d316a75957f3d43c3a8c2a6fe9bc18b2.zip |
selftests/bpf: enhance align selftest's expected log matching
Allow to search for expected register state in all the verifier log
output that's related to specified instruction number.
See added comment for an example of possible situation that is happening
due to a simple enhancement done in the next patch, which fixes handling
of env->test_state_freq flag in state checkpointing logic.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20230302235015.2044271-4-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/verifier.c')
0 files changed, 0 insertions, 0 deletions