Re: [PATCH bpf-next] selftests/bpf: suppress readelf stderr when probing for BTF support

2019-01-23 Thread Alexei Starovoitov
On Wed, Jan 23, 2019 at 07:15:07PM -0800, Stanislav Fomichev wrote: > On 01/23, Alexei Starovoitov wrote: > > On Wed, Jan 23, 2019 at 09:24:35AM -0800, Stanislav Fomichev wrote: > > > Before: > > > $ make -s -C tools/testing/selftests/bpf > > > readelf: Error: Missing knowledge of 32-bit reloc type

Re: [PATCH bpf-next] selftests/bpf: suppress readelf stderr when probing for BTF support

2019-01-23 Thread Stanislav Fomichev
On 01/23, Alexei Starovoitov wrote: > On Wed, Jan 23, 2019 at 09:24:35AM -0800, Stanislav Fomichev wrote: > > Before: > > $ make -s -C tools/testing/selftests/bpf > > readelf: Error: Missing knowledge of 32-bit reloc types used in DWARF > > sections of machine number 247 > > readelf: Warning: unabl

Re: [PATCH bpf-next] selftests/bpf: suppress readelf stderr when probing for BTF support

2019-01-23 Thread Alexei Starovoitov
On Wed, Jan 23, 2019 at 09:24:35AM -0800, Stanislav Fomichev wrote: > Before: > $ make -s -C tools/testing/selftests/bpf > readelf: Error: Missing knowledge of 32-bit reloc types used in DWARF > sections of machine number 247 > readelf: Warning: unable to apply unsupported reloc type 10 to section

[PATCH bpf-next] selftests/bpf: suppress readelf stderr when probing for BTF support

2019-01-23 Thread Stanislav Fomichev
Before: $ make -s -C tools/testing/selftests/bpf readelf: Error: Missing knowledge of 32-bit reloc types used in DWARF sections of machine number 247 readelf: Warning: unable to apply unsupported reloc type 10 to section .debug_info readelf: Warning: unable to apply unsupported reloc type 1 to sect