Commit 9c7c48d
bpf: Fix subprog names in stack traces.
The commit 7337224 ("bpf: Improve the info.func_info and info.func_info_rec_size behavior")
accidently made bpf_prog_ksym_set_name() conservative for bpf subprograms.
Fixed it so instead of "bpf_prog_tag_F" the stack traces print "bpf_prog_tag_full_subprog_name".
Fixes: 7337224 ("bpf: Improve the info.func_info and info.func_info_rec_size behavior")
Reported-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220714211637.17150-1-alexei.starovoitov@gmail.com1 parent 7fb27a5 commit 9c7c48d
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13631 | 13631 | | |
13632 | 13632 | | |
13633 | 13633 | | |
| 13634 | + | |
13634 | 13635 | | |
13635 | 13636 | | |
13636 | 13637 | | |
| |||
13643 | 13644 | | |
13644 | 13645 | | |
13645 | 13646 | | |
13646 | | - | |
13647 | | - | |
13648 | | - | |
13649 | 13647 | | |
13650 | 13648 | | |
13651 | 13649 | | |
| |||
0 commit comments