]> git.baikalelectronics.ru Git - kernel.git/commit
btf: add support for VAR and DATASEC in btf_dedup()
authorAndrii Nakryiko <andriin@fb.com>
Mon, 15 Apr 2019 23:48:07 +0000 (16:48 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 16 Apr 2019 07:50:20 +0000 (09:50 +0200)
commit2e03ae628efae1cac2bcde3c0e0e50414deb36a9
tree553248c4dc5ba4a44849f55020f8229272fb2c7f
parentc93b514707ad20350aa3f65df1595df991353ff5
btf: add support for VAR and DATASEC in btf_dedup()

This patch adds support for VAR and DATASEC in btf_dedup(). VAR/DATASEC
are never deduplicated, but they need to be processed anyway as types
they refer to might need to be remapped due to deduplication and
compaction.

Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Yonghong Song <yhs@fb.com>
Cc: Alexei Starovoitov <ast@fb.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/lib/bpf/btf.c