Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5442268ybp; Mon, 14 Oct 2019 22:50:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBiSLQ5WcJwoM/R0h7r14bm4O0yz0RQ3l0RYwKw7yP8PaPdNU06wY8O0zsYposusJ2eV5f X-Received: by 2002:a05:6402:3051:: with SMTP id bu17mr31492747edb.4.1571118631447; Mon, 14 Oct 2019 22:50:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571118631; cv=none; d=google.com; s=arc-20160816; b=zRefzWizoB4giS/PcTVXUuwMXrmQ4O9LnyNelDaoE5pVqpzYhovCzOG6FE3gKm8bH0 uToMsrV8DKjNUsch5VpDD9B6WOfEr7lzlW5teKrmS/Ke5ZdiNbzs8v1zptxjilT/YKHe 8gWwWghjwhvKjCcks3v9rD+wPjALp/IU52QV4kcISg6EwVl0A7+Vci4EHeSzJRSCMYCO hiJm5TSOL407UpiE4+hQRZlErcIr6Ni8aH0Q3srWRpO8AHUll3p7Sjn5pLsEDWxGSYyp y0O/V3dABXc0SGyYHEQ9Gv/duVt33XeMmVwL2pnLZSr+UgnAykwYywyqMDkWQnZdVf51 Awug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=RKqpG/VwgEhpY3yaRecOKxAflWh3646mKTlHrLfWdpo=; b=yFcJL2niXHsfne++QHbq9jw++1ZXAEP7RrZuNWwruGmcSwbU1O0217/haTuL5bt3Rw YB+qI00q9Z8X1W5OFa0O8LPbE8hQQ7G5AolvkfWlYfrng0wUWsPmjxlHObAqWjwqrgRB dxFU8eCuY6il13oj6TtkGPmQzOAHfPddUkdGmMlHlMV02gPdLU6fmIk7xnD5OokyOTUl XdJpnazO6n2CqdQaYIs7ZpRV4090sIlHPsl5tmyTnf6p19JG26xiWyhWnSOtY6FBg/za y/b7zVQ+/jwuP26Y2kXFI/ki8P6YDa8GzqUk+I1uddxcXmaM9drvxT7LrO5c/xjrPnhw IzLA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d26si11660085edq.91.2019.10.14.22.50.07; Mon, 14 Oct 2019 22:50:31 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728985AbfJOFdZ convert rfc822-to-8bit (ORCPT + 99 others); Tue, 15 Oct 2019 01:33:25 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:42255 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728672AbfJOFcV (ORCPT ); Tue, 15 Oct 2019 01:32:21 -0400 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iKFRH-0000QF-N9; Tue, 15 Oct 2019 07:32:07 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 0F7361C04D4; Tue, 15 Oct 2019 07:31:49 +0200 (CEST) Date: Tue, 15 Oct 2019 05:31:48 -0000 From: tip-bot2 for =?utf-8?q?Bj=C3=B6rn_T=C3=B6pel?= Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/core] samples/bpf: fix build by setting HAVE_ATTR_TEST to zero Cc: =?utf-8?q?Bj=C3=B6rn_T=C3=B6pel?= , KP Singh , Song Liu , Adrian Hunter , Alexei Starovoitov , Daniel Borkmann , Jiri Olsa , Namhyung Kim , bpf@vger.kernel.org, netdev@vger.kernel.org, Arnaldo Carvalho de Melo , Ingo Molnar , Borislav Petkov , linux-kernel@vger.kernel.org In-Reply-To: <20191001113307.27796-3-bjorn.topel@gmail.com> References: <20191001113307.27796-3-bjorn.topel@gmail.com> MIME-Version: 1.0 Message-ID: <157111750893.12254.16541060201823244763.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the perf/core branch of tip: Commit-ID: fce9501aec6bdda45ef3a5e365a5e0de7de7fe2d Gitweb: https://git.kernel.org/tip/fce9501aec6bdda45ef3a5e365a5e0de7de7fe2d Author: Björn Töpel AuthorDate: Tue, 01 Oct 2019 13:33:07 +02:00 Committer: Arnaldo Carvalho de Melo CommitterDate: Mon, 07 Oct 2019 12:22:18 -03:00 samples/bpf: fix build by setting HAVE_ATTR_TEST to zero To remove that test_attr__{enabled/open} are used by perf-sys.h, we set HAVE_ATTR_TEST to zero. Signed-off-by: Björn Töpel Tested-by: KP Singh Acked-by: Song Liu Cc: Adrian Hunter Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Jiri Olsa Cc: Namhyung Kim Cc: bpf@vger.kernel.org Cc: netdev@vger.kernel.org Link: http://lore.kernel.org/lkml/20191001113307.27796-3-bjorn.topel@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- samples/bpf/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index 1d9be26..42b571c 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile @@ -176,6 +176,7 @@ KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/bpf/ KBUILD_HOSTCFLAGS += -I$(srctree)/tools/testing/selftests/bpf/ KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/ -I$(srctree)/tools/include KBUILD_HOSTCFLAGS += -I$(srctree)/tools/perf +KBUILD_HOSTCFLAGS += -DHAVE_ATTR_TEST=0 HOSTCFLAGS_bpf_load.o += -I$(objtree)/usr/include -Wno-unused-variable