[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190311004410.3896503-1-andriin@fb.com>
Date: Sun, 10 Mar 2019 17:44:08 -0700
From: Andrii Nakryiko <andriin@...com>
To: <andrii.nakryiko@...il.com>, <kernel-team@...com>, <ast@...com>,
<acme@...nel.org>, <netdev@...r.kernel.org>, <bpf@...r.kernel.org>,
<daniel@...earbox.net>, <yhs@...com>
CC: Andrii Nakryiko <andriin@...com>
Subject: [PATCH bpf-next 0/2] Add fwd enum resolution for btf_dedup()
This patchset adds ability to resolve forward-declared enums into their
corresponding full enum definition types during type deduplication,
eliminating one of the reasons for having duplicated graphs of types.
Andrii Nakryiko (2):
btf: resolve enum fwds in btf_dedup
selftests/bpf: add fwd enum resolution test for btf_dedup
tools/lib/bpf/btf.c | 51 +++++++++++++++++++-------
tools/testing/selftests/bpf/test_btf.c | 44 ++++++++++++++++++++++
2 files changed, 82 insertions(+), 13 deletions(-)
--
2.17.1
Powered by blists - more mailing lists