Re: [PATCH bpf-next] bpf: Fix another bpftool segfault without skeleton code enabled

2020-07-08 Thread Daniel Borkmann
On 7/8/20 1:08 PM, louis.pe...@netronome.com wrote: From: Louis Peens emit_obj_refs_json needs to added the same as with emit_obj_refs_plain to prevent segfaults, similar to Commit "8ae4121bd89e bpf: Fix bpftool without skeleton code enabled"). See the error below: # ./bpftool -p prog

Re: [PATCH bpf-next] bpf: Fix another bpftool segfault without skeleton code enabled

2020-07-08 Thread Quentin Monnet
2020-07-08 13:08 UTC+0200 ~ louis.pe...@netronome.com > From: Louis Peens > > emit_obj_refs_json needs to added the same as with emit_obj_refs_plain > to prevent segfaults, similar to Commit "8ae4121bd89e bpf: Fix bpftool > without skeleton code enabled"). See the error below: > > # ./bpftoo

[PATCH bpf-next] bpf: Fix another bpftool segfault without skeleton code enabled

2020-07-08 Thread louis . peens
From: Louis Peens emit_obj_refs_json needs to added the same as with emit_obj_refs_plain to prevent segfaults, similar to Commit "8ae4121bd89e bpf: Fix bpftool without skeleton code enabled"). See the error below: # ./bpftool -p prog { "error": "bpftool built without PID iterator