Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1762825ybg; Sat, 19 Oct 2019 02:01:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIXbJWaI5u9nFi+bl9BpTEZeLIDkxvkXBLT1yKh4NP6IKt+PfAx7s+kqS8ClvC+nZb+WjB X-Received: by 2002:aa7:de12:: with SMTP id h18mr13973138edv.226.1571475667042; Sat, 19 Oct 2019 02:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571475667; cv=none; d=google.com; s=arc-20160816; b=ywFLorqsrXQvzHsEvEFtuoJuuEZnTUG1Hdl9ez3KmlMuU820simgpuBjGC/Df6Mg/P d/ReXNnlrQym7/nZnC8mVEADJsWsvBpKIJy/Vw/VsaSsiDzzvQmvfb1RvMjmJCcSzmUq Bf6mZGsQdnQRAIpDzMlq36om20audTfbMl8AlLmhC/fNX+/hbqkDB6jNgfZ2A6WwIYCu fr38Urxqm9FlBHWeBgcsII+NLoMMOM66nAEfZktwTrmALBdrLXbLblG42zLSiNgYisNR wGP2qKpgWIVZ2R3k2iQLEq/FaT9jWf7gd00IBw4vf5OuPIg+klRZ31Wie8bN1qCIHET/ r2bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature; bh=ph1gsWl8b+KE0jxl78060VBvyBbktI0ey+ejee4Ra+M=; b=plf1zZQ3QEWSAj2rfQXkqdYIC3Ll2AIrv3za16yEKOBCN5Z2DUecw7eosNSyI4M4Yy AxhX3ITblalrXiLY2ukCrz7na71N/UgHrRbqQ4xGG7WE2yAE1jcIARsbOukh0fN7Brkn 1PwDnVMytiy7pqfHrOaCiBZMPoox5HXtFYd9YjhtOyDeYnRNw4w1JiP4shRUkKneaIbA 7Cs/b+ty1409sjGABH2W+msWj/7abE8kP9oYpffPfkIK3CPbGvgaU7XrsYMRtNeKNzQs wpA41nKjZ/Zi03OLPKiGAKr7+R6h/GSwiQDDL6S63T+ivv39P7mUa9q6KF3Ha4I6LMPN 0F7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sWU3T83Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3si6649477edc.151.2019.10.19.02.00.42; Sat, 19 Oct 2019 02:01:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sWU3T83Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2505780AbfJRSH7 (ORCPT + 99 others); Fri, 18 Oct 2019 14:07:59 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:35439 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2634544AbfJRSHr (ORCPT ); Fri, 18 Oct 2019 14:07:47 -0400 Received: by mail-qk1-f194.google.com with SMTP id w2so6146107qkf.2 for ; Fri, 18 Oct 2019 11:07:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ph1gsWl8b+KE0jxl78060VBvyBbktI0ey+ejee4Ra+M=; b=sWU3T83YtwtKbPCpz47RAxEs8mvbBVd81ozmTNKEGnuqYPCvpcU6Wsi09Xt8hKO1LJ wPSEdxn3BwM2jceEQeOiwf9GxDfM/rEYKy/rjEOpJFh/lk0uDkQF/ZxvXnPIilVHnizv hzM5CTAO3dSkXjLBnkHNJCmK+izfW3yUhdVOWtZJX7LWTk4CW9svOUyu6qB+6V/DM/x+ uZ3Ru6M7nxLbVoJ7BscjR7u1KTmxWmdtYM6rreQJPXc3RvAT/RjDOnLDE0q7jAf3vVfB q9NfOjJzGubVGVMGQ7C4rb1FWiWPtnXU73xsbJ7ESI58l9oX0lJ5dab3228Fer5osrBu a5SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ph1gsWl8b+KE0jxl78060VBvyBbktI0ey+ejee4Ra+M=; b=MQP+qkR68Eb7vVG+oXPwE13tDLBygHwbDAmNd5vngewicSnUWcj6TjmGLij2mhfQEZ 9anOdDhx1seRcSn3/isT4LQEV31CYTQURWgA8niYBDR92ZMw4DrPMYznAGWoXyPUL/zP euzaNyZA9P0uUbq0ueZXlagvi7Zao2KIB75odRJ0NE853dUDXvmSgb9f+ir75kwbyAP7 i/VJJMFUxb1Qxh4G0cWuLMgrnEQu1f3/zIfmMyrw9sWI686pcQBvYOSi5N+ILoxpxwMm MUx+fFrjNGj8/UHhHbpHpHn5N0sMliJtUf1X88ZP3/4ULQVjCIGIUNe/DPw3Z7lHYv+z U2Gg== X-Gm-Message-State: APjAAAVDo7IemSmfVpylxOrh23McuTM1t7REBPDI+3/IdKRW43qwavqV F0nR94XKA9md92bw3qvyFpw= X-Received: by 2002:a37:85c5:: with SMTP id h188mr2708920qkd.191.1571422065884; Fri, 18 Oct 2019 11:07:45 -0700 (PDT) Received: from quaco.ghostprotocols.net (179-240-170-47.3g.claro.net.br. [179.240.170.47]) by smtp.gmail.com with ESMTPSA id i66sm3049654qkb.105.2019.10.18.11.07.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2019 11:07:43 -0700 (PDT) From: Arnaldo Carvalho de Melo X-Google-Original-From: Arnaldo Carvalho de Melo Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 8818A4DD66; Fri, 18 Oct 2019 15:07:38 -0300 (-03) Date: Fri, 18 Oct 2019 15:07:38 -0300 To: Jiri Olsa Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Andi Kleen , Stephane Eranian , Jin Yao , Alexey Budankov Subject: Re: [PATCH 05/10] libperf: Add _GNU_SOURCE define to compilation Message-ID: <20191018180738.GD1797@kernel.org> References: <20191017105918.20873-1-jolsa@kernel.org> <20191017105918.20873-6-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191017105918.20873-6-jolsa@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Why? Em Thu, Oct 17, 2019 at 12:59:13PM +0200, Jiri Olsa escreveu: > Link: http://lkml.kernel.org/n/tip-m7t1e9kgea4jc3piyvjju7ps@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 0f233638ef1f..20396f68fcad 100644 > --- a/tools/perf/lib/Makefile > +++ b/tools/perf/lib/Makefile > @@ -73,6 +73,7 @@ override CFLAGS += -Werror -Wall > override CFLAGS += -fPIC > override CFLAGS += $(INCLUDES) > override CFLAGS += -fvisibility=hidden > +override CFLAGS += -D_GNU_SOURCE > > all: > > diff --git a/tools/perf/lib/tests/Makefile b/tools/perf/lib/tests/Makefile > index a43cd08c5c03..78c3d8c83c53 100644 > --- a/tools/perf/lib/tests/Makefile > +++ b/tools/perf/lib/tests/Makefile > @@ -12,6 +12,8 @@ else > CFLAGS := -g -Wall > endif > > +CFLAGS += -D_GNU_SOURCE > + > all: > > include $(srctree)/tools/scripts/Makefile.include > -- > 2.21.0 -- - Arnaldo