diff options
author | Andrii Nakryiko <[email protected]> | 2020-06-01 13:26:01 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-06-01 15:13:04 -0700 |
commit | febeb6dff7beafcaf89521f6c8ff7b0adac08d54 (patch) | |
tree | 966abc0e092da570677472003cf1ca09939f9f4d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 958a3f2d2aff896ae2a622878e456114f4a4cd15 (diff) |
libbpf: Add _GNU_SOURCE for reallocarray to ringbuf.c
On systems with recent enough glibc, reallocarray compat won't kick in, so
reallocarray() itself has to come from stdlib.h include. But _GNU_SOURCE is
necessary to enable it. So add it.
Fixes: bf99c936f947 ("libbpf: Add BPF ring buffer support")
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions