From: Alexei Starovoitov kfunc_iter_stack_liveness matches a line of the verifier log: 6: (85) call bpf_iter_num_new#95448 ; def: fp0-24 .. " 6: (85) call bpf_iter_num_new{{.*}} ; def: fp0-24 .." The pattern has "{{.*}}" for the id and then ten spaces. The verifier pads the insn to a fixed column. An id of six digits leaves nine spaces, and the test fails. resolve_btfids sorts BTF by name. The next patches add about 12000 decl tags to vmlinux. Their names start with "bpf_fmodret_retval:", so all of them come before "bpf_iter_num_new": id of bpf_iter_num_new before this series 95448 after this series 107433 Let "{{.*}}" match the spaces too, as other tests in this file do. Signed-off-by: Alexei Starovoitov --- tools/testing/selftests/bpf/progs/verifier_live_stack.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/bpf/progs/verifier_live_stack.c b/tools/testing/selftests/bpf/progs/verifier_live_stack.c index d6a6420d219d..741260a1e834 100644 --- a/tools/testing/selftests/bpf/progs/verifier_live_stack.c +++ b/tools/testing/selftests/bpf/progs/verifier_live_stack.c @@ -979,9 +979,9 @@ void __kfunc_btf_root(void) */ SEC("socket") __success __log_level(2) -__msg(" 6: (85) call bpf_iter_num_new{{.*}} ; def: fp0-24 may_def: fp0-24{{$}}") -__msg(" 9: (85) call bpf_iter_num_next{{.*}} ; use: fp0-24 may_def: fp0-24{{$}}") -__msg("14: (85) call bpf_iter_num_destroy{{.*}} ; use: fp0-24 may_def: fp0-24{{$}}") +__msg(" 6: (85) call bpf_iter_num_new{{.*}}; def: fp0-24 may_def: fp0-24{{$}}") +__msg(" 9: (85) call bpf_iter_num_next{{.*}}; use: fp0-24 may_def: fp0-24{{$}}") +__msg("14: (85) call bpf_iter_num_destroy{{.*}}; use: fp0-24 may_def: fp0-24{{$}}") __naked void kfunc_iter_stack_liveness(void) { asm volatile ( -- 2.55.0