diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2022-11-09 16:26:11 +0200 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-11-09 20:45:21 -0800 |
commit | 99e18fad5ff79eea2ea9ec7e6d800b286552e005 (patch) | |
tree | 749dd45cd33258782cf8bd6e74db41b6e9370955 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 082108fd6932772deb7e329f118687b4c03fc6a5 (diff) |
selftests/bpf: Tests for btf_dedup_resolve_fwds
Tests to verify the following behavior of `btf_dedup_resolve_fwds`:
- remapping for struct forward declarations;
- remapping for union forward declarations;
- no remapping if forward declaration kind does not match similarly
named struct or union declaration;
- no remapping if forward declaration name is ambiguous;
- base ids are considered for fwd resolution in split btf scenario.
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Alan Maguire <alan.maguire@oracle.com>
Link: https://lore.kernel.org/bpf/20221109142611.879983-4-eddyz87@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions