Re: [PATCH 05/10] libperf: Add _GNU_SOURCE define to compilation

2019-10-19 Thread Jiri Olsa
On Fri, Oct 18, 2019 at 03:07:38PM -0300, Arnaldo Carvalho de Melo wrote: > > Why? it's passed when the library is compiled with perf, but not when you compile it standalone.. and 2 '-D_GNU_SOURCE' on command line are ok jirka > > > Em Thu, Oct 17, 2019 at 12:59:13PM +0200, Jiri Olsa

Re: [PATCH 05/10] libperf: Add _GNU_SOURCE define to compilation

2019-10-18 Thread Arnaldo Carvalho de Melo
Why? Em Thu, Oct 17, 2019 at 12:59:13PM +0200, Jiri Olsa escreveu: > Link: http://lkml.kernel.org/n/tip-m7t1e9kgea4jc3piyvjju...@git.kernel.org > Signed-off-by: Jiri Olsa > --- > tools/perf/lib/Makefile | 1 + > tools/perf/lib/tests/Makefile | 2 ++ > 2 files changed, 3 insertions(+) >

[PATCH 05/10] libperf: Add _GNU_SOURCE define to compilation

2019-10-17 Thread Jiri Olsa
Link: http://lkml.kernel.org/n/tip-m7t1e9kgea4jc3piyvjju...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/lib/Makefile | 1 + tools/perf/lib/tests/Makefile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/tools/perf/lib/Makefile b/tools/perf/lib/Makefile index