Re: [PATCH 3/3] bpf: set index entry for a VAR_DECL in CO-RE relocs

2025-01-15 Thread Cupertino Miranda
Thanks! Added changelog and Pushed! On 14-10-2024 19:08, Cupertino Miranda wrote: On 30-09-2024 18:47, David Faust wrote: On 9/27/24 09:49, Cupertino Miranda wrote: CO-RE accesses with non pointer struct variables will also generate a "0" string access within the CO-RE relocation. The firs

Re: [PATCH 3/3] bpf: set index entry for a VAR_DECL in CO-RE relocs

2024-10-14 Thread Cupertino Miranda
On 30-09-2024 18:47, David Faust wrote: On 9/27/24 09:49, Cupertino Miranda wrote: CO-RE accesses with non pointer struct variables will also generate a "0" string access within the CO-RE relocation. The first index within the access string, has sort of a different meaning then the remainin

Re: [PATCH 3/3] bpf: set index entry for a VAR_DECL in CO-RE relocs

2024-09-30 Thread David Faust
On 9/27/24 09:49, Cupertino Miranda wrote: > CO-RE accesses with non pointer struct variables will also generate a > "0" string access within the CO-RE relocation. > The first index within the access string, has sort of a different > meaning then the remaining of the indexes. > For i0:i1:...:in

[PATCH 3/3] bpf: set index entry for a VAR_DECL in CO-RE relocs

2024-09-27 Thread Cupertino Miranda
CO-RE accesses with non pointer struct variables will also generate a "0" string access within the CO-RE relocation. The first index within the access string, has sort of a different meaning then the remaining of the indexes. For i0:i1:...:in being an access index for "struct A a" declaration, its