diff options
author | Alexei Starovoitov <ast@kernel.org> | 2022-07-14 14:16:37 -0700 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-07-14 23:43:01 -0700 |
commit | 9c7c48d6a1e2eb5192ad5294c1c4dbd42a88e88b (patch) | |
tree | 3f58fab9dece0da718305bc93e32c7f868635e81 /scripts/bpf_doc.py | |
parent | 7fb27a56b9ebd8a77d9dd188e8a42bff99bc3443 (diff) |
bpf: Fix subprog names in stack traces.
The commit 7337224fc150 ("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: 7337224fc150 ("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.com
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions