Re: [RFC] .BTF section data alignment issue on s390

2020-06-12 Thread Jiri Olsa
On Fri, Jun 12, 2020 at 12:46:13AM +0200, Ilya Leoshkevich wrote: > On Thu, 2020-06-11 at 22:50 +0200, Jiri Olsa wrote: > > hi, > > we're hitting a problem on s390 with BTF data alignment. > > > > When running simple test, we're getting this message from > > verifier and console: > > > > bpf_co

Re: [RFC] .BTF section data alignment issue on s390

2020-06-11 Thread Ilya Leoshkevich
On Thu, 2020-06-11 at 22:50 +0200, Jiri Olsa wrote: > hi, > we're hitting a problem on s390 with BTF data alignment. > > When running simple test, we're getting this message from > verifier and console: > > bpf_common.c:91: BROK: Failed verification: in-kernel BTF is > malformed > [ 41.5455

[RFC] .BTF section data alignment issue on s390

2020-06-11 Thread Jiri Olsa
hi, we're hitting a problem on s390 with BTF data alignment. When running simple test, we're getting this message from verifier and console: bpf_common.c:91: BROK: Failed verification: in-kernel BTF is malformed [ 41.545572] BPF:Total section length too long AFAICS it happens when .BTF se