]> git.baikalelectronics.ru Git - kernel.git/commit
bpftool: Support dumping BTF VAR's "extern" linkage
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 23 Apr 2021 18:13:31 +0000 (11:13 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 23 Apr 2021 21:05:25 +0000 (14:05 -0700)
commite04a065756acf93cab125db6fdbbad3017280aa9
tree91669eb0039f4c52f4448c660b1651f048dcd612
parent298b493e710c5117119747f23dd0492b89e203ce
bpftool: Support dumping BTF VAR's "extern" linkage

Add dumping of "extern" linkage for BTF VAR kind. Also shorten
"global-allocated" to "global" to be in line with FUNC's "global".

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210423181348.1801389-2-andrii@kernel.org
tools/bpf/bpftool/btf.c