diff options
author | Dave Marchevsky <[email protected]> | 2023-10-13 13:44:22 -0700 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2023-10-13 15:48:58 -0700 |
commit | f10ca5da5bd71e5cefed7995e75a7c873ce3816e (patch) | |
tree | 4c7ea8cb4ca5de5d5dab49142931fc55b0794e33 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ba8ea72388a192c10f1ee5f5a4a32332e7cced76 (diff) |
bpf: Don't explicitly emit BTF for struct btf_iter_num
Commit 6018e1f407cc ("bpf: implement numbers iterator") added the
BTF_TYPE_EMIT line that this patch is modifying. The struct btf_iter_num
doesn't exist, so only a forward declaration is emitted in BTF:
FWD 'btf_iter_num' fwd_kind=struct
That commit was probably hoping to ensure that struct bpf_iter_num is
emitted in vmlinux BTF. A previous version of this patch changed the
line to emit the correct type, but Yonghong confirmed that it would
definitely be emitted regardless in [0], so this patch simply removes
the line.
This isn't marked "Fixes" because the extraneous btf_iter_num FWD wasn't
causing any issues that I noticed, aside from mild confusion when I
looked through the code.
[0]: https://lore.kernel.org/bpf/[email protected]/
Signed-off-by: Dave Marchevsky <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions