On Mon, Nov 02, 2020 at 10:27:20PM -0800, Andrii Nakryiko wrote:
> On Mon, Nov 2, 2020 at 9:10 PM Alexei Starovoitov
> wrote:
> >
> > On Wed, Oct 28, 2020 at 05:58:59PM -0700, Andrii Nakryiko wrote:
> > > @@ -2942,6 +2948,13 @@ struct btf_dedup {
> > > __u32 *hypot_list;
> > > size_t h
> On Nov 2, 2020, at 10:31 PM, Andrii Nakryiko
> wrote:
>
> On Mon, Nov 2, 2020 at 9:59 PM Song Liu wrote:
>>
>>
>>
>>> On Nov 2, 2020, at 9:25 PM, Andrii Nakryiko
>>> wrote:
>>>
>>> On Mon, Nov 2, 2020 at 6:49 PM Song Liu wrote:
> On Oct 28, 2020, at 5:58 PM, An
On Mon, Nov 2, 2020 at 9:59 PM Song Liu wrote:
>
>
>
> > On Nov 2, 2020, at 9:25 PM, Andrii Nakryiko
> > wrote:
> >
> > On Mon, Nov 2, 2020 at 6:49 PM Song Liu wrote:
> >>
> >>
> >>
> >>> On Oct 28, 2020, at 5:58 PM, Andrii Nakryiko wrote:
> >>>
> >>> Add support for deduplication split BTFs.
On Mon, Nov 2, 2020 at 9:10 PM Alexei Starovoitov
wrote:
>
> On Wed, Oct 28, 2020 at 05:58:59PM -0700, Andrii Nakryiko wrote:
> > @@ -2942,6 +2948,13 @@ struct btf_dedup {
> > __u32 *hypot_list;
> > size_t hypot_cnt;
> > size_t hypot_cap;
> > + /* Whether hypothethical mappin
> On Nov 2, 2020, at 9:25 PM, Andrii Nakryiko wrote:
>
> On Mon, Nov 2, 2020 at 6:49 PM Song Liu wrote:
>>
>>
>>
>>> On Oct 28, 2020, at 5:58 PM, Andrii Nakryiko wrote:
>>>
>>> Add support for deduplication split BTFs. When deduplicating split BTF, base
>>> BTF is considered to be immuta
On Mon, Nov 2, 2020 at 6:49 PM Song Liu wrote:
>
>
>
> > On Oct 28, 2020, at 5:58 PM, Andrii Nakryiko wrote:
> >
> > Add support for deduplication split BTFs. When deduplicating split BTF, base
> > BTF is considered to be immutable and can't be modified or adjusted. 99% of
> > BTF deduplication l
On Wed, Oct 28, 2020 at 05:58:59PM -0700, Andrii Nakryiko wrote:
> @@ -2942,6 +2948,13 @@ struct btf_dedup {
> __u32 *hypot_list;
> size_t hypot_cnt;
> size_t hypot_cap;
> + /* Whether hypothethical mapping, if successful, would need to adjust
> + * already canonicalized
> On Oct 28, 2020, at 5:58 PM, Andrii Nakryiko wrote:
>
> Add support for deduplication split BTFs. When deduplicating split BTF, base
> BTF is considered to be immutable and can't be modified or adjusted. 99% of
> BTF deduplication logic is left intact (module some type numbering
> adjustmen
Add support for deduplication split BTFs. When deduplicating split BTF, base
BTF is considered to be immutable and can't be modified or adjusted. 99% of
BTF deduplication logic is left intact (module some type numbering adjustments).
There are only two differences.
First, each type in base BTF get