libbpf-tools: Don't redefine _GNU_SOURCE to avoid redefinition warning
authorDave Marchevsky <davemarchevsky@fb.com>
Sat, 19 Jun 2021 05:52:46 +0000 (22:52 -0700)
committeryonghong-song <ys114321@gmail.com>
Sat, 19 Jun 2021 16:51:50 +0000 (09:51 -0700)
commitc60bd48a857a4099dec7dc846ab8cc27e26650a2
treec6bad2054eae19235505dea27009a2acc7f59877
parent8b1c973f01f74c7229d84417454b7c91ade6e7f5
libbpf-tools: Don't redefine _GNU_SOURCE to avoid redefinition warning

Similar to past commits like 667988ce9e2a051ff608b727f6c89a5baa01fa67,
my toolchain complains that `_GNU_SOURCE` is redefined. Let's only
define it when it passes `ifndef`
libbpf-tools/trace_helpers.c
libbpf-tools/uprobe_helpers.c