diff options
author | Yonghong Song <yhs@fb.com> | 2021-09-14 15:30:41 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-09-14 18:45:52 -0700 |
commit | 3df3bd68d4811bccc74adc04d4d84512957a1a07 (patch) | |
tree | fbf91b0381fa4d4be92fc0a09b158012cde4e60a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 71d29c2d47d112404fe23e31cf33f7cccde75a8c (diff) |
selftests/bpf: Change NAME_NTH/IS_NAME_NTH for BTF_KIND_TAG format
BTF_KIND_TAG ELF format has a component_idx which might have value -1.
test_btf may confuse it with common_type.name as NAME_NTH checkes
high 16bit to be 0xffff. Change NAME_NTH high 16bit check to be
0xfffe so it won't confuse with component_idx.
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210914223041.248009-1-yhs@fb.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions