bpf: Resolve modifiers when walking structs
authorStanislav Fomichev <sdf@google.com>
Mon, 26 Jun 2023 21:25:21 +0000 (14:25 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 30 Jun 2023 08:35:59 +0000 (10:35 +0200)
commit819d43428a8661abccf8b9ecad94c7e6f23a0024
tree04eab9f1dee7b6f4134a5b8b71dbfe7e6bb0c6ae
parent17e8e5d6e09adb4b4f4fb5c89b3ec3fcae2c64a6
bpf: Resolve modifiers when walking structs

It is impossible to use skb_frag_t in the tracing program. Resolve typedefs
when walking structs.

Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20230626212522.2414485-1-sdf@google.com
kernel/bpf/btf.c