summaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2022-08-07 10:51:16 -0700
committerAlexei Starovoitov <ast@kernel.org>2022-08-09 10:30:45 -0700
commita00ed8430199abbc9d9bf43ea31795bfe98998ca (patch)
tree696ad86a479b12120fdf4a3a26a840da5591ff59 /tools/lib/api/debug.c
parent11b9148590146ff8a4e90c7f0186efe06009ec1b (diff)
bpf: Always return corresponding btf_type in __get_type_size()
Currently in funciton __get_type_size(), the corresponding btf_type is returned only in invalid cases. Let us always return btf_type regardless of valid or invalid cases. Such a new functionality will be used in subsequent patches. Signed-off-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/r/20220807175116.4179242-1-yhs@fb.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions