On Mon, Nov 2, 2020 at 9:41 PM Song Liu wrote:
>
>
>
> > On Nov 2, 2020, at 9:02 PM, Andrii Nakryiko
> > wrote:
> >
> > On Mon, Nov 2, 2020 at 3:24 PM Song Liu wrote:
> >>
> >>
> >>
> >>> On Oct 28, 2020, at 5:58 PM, Andrii Nakryiko wrote:
> >>>
> >>
> >> [...]
> >>
> >>>
> >>> BTF deduplicati
> On Nov 2, 2020, at 9:02 PM, Andrii Nakryiko wrote:
>
> On Mon, Nov 2, 2020 at 3:24 PM Song Liu wrote:
>>
>>
>>
>>> On Oct 28, 2020, at 5:58 PM, Andrii Nakryiko wrote:
>>>
>>
>> [...]
>>
>>>
>>> BTF deduplication is not yet supported for split BTF and support for it will
>>> be added
On Mon, Nov 2, 2020 at 3:24 PM Song Liu wrote:
>
>
>
> > On Oct 28, 2020, at 5:58 PM, Andrii Nakryiko wrote:
> >
>
> [...]
>
> >
> > BTF deduplication is not yet supported for split BTF and support for it will
> > be added in separate patch.
> >
> > Signed-off-by: Andrii Nakryiko
>
> Acked-by: S
> On Oct 28, 2020, at 5:58 PM, Andrii Nakryiko wrote:
>
[...]
>
> BTF deduplication is not yet supported for split BTF and support for it will
> be added in separate patch.
>
> Signed-off-by: Andrii Nakryiko
Acked-by: Song Liu
With a couple nits:
> ---
> tools/lib/bpf/btf.c | 205
Support split BTF operation, in which one BTF (base BTF) provides basic set of
types and strings, while another one (split BTF) builds on top of base's types
and strings and adds its own new types and strings. From API standpoint, the
fact that the split BTF is built on top of the base BTF is trans