Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8182283ybn; Tue, 1 Oct 2019 04:35:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0yrXc2Zukj5dUZLYCHfr9l2y1nhQnwIju1MDYporXkZDUhBWO9jgWc+mgI4Qt4uWA6FSL X-Received: by 2002:a17:906:81c6:: with SMTP id e6mr13148724ejx.284.1569929735589; Tue, 01 Oct 2019 04:35:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569929735; cv=none; d=google.com; s=arc-20160816; b=E7R+SreLa0Rz+cB7uL+plTHd8MTN+xJMh6WamX0Dg8B7jZ1kGPyVt3Mz7EPR65SaCI tzX+Ky3wn/vIW6+oDezpxyoevixJLPm+Kh9czx5hu6SbEH60rEFi0QhYbwoHURcC0zEi Wyv7LxM2UXrXKm7tbevLDG+GyXu0oFuepZ8x+GxTlzbKDYXrVRVaOWPBnQEA9e9Gipyb REmeW2lrpoHDs6Ai6IR2cas1WJXQJxJ7WgX/WH17bKOuJuPdZ7ILIUCpF+MlEui9DkHg p51191Ts5v33yrBW+TA7FUlBE6itIHK2hhk5Wvlhl96K29MNgYVUIf0PUPopFyOcMLSX 2Aiw== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=09lI8sA7GBmAEMY2ZHF2GfLfirrTO8tbiRtZGHSh2eo=; b=vp2i6uAOcFOW30SZrousDBp72LtyVB/LEi+OPLR/6khj2qU64Ak8e3DXBPZCSk/uVc wWIC8NY+MLuN8qk5wgGnF4Hi23KhBTuNegvQogckgqXjYpeM0tYkDSoJn0zaC/Gl2QHx oD+zUnLi73hmwJVkYTTeKV3wgtHe/PXeSOQ33gyiM3p7PwOYCqM7GYrEocZYAniVnLeQ aTQ3ClvE8iqtdp8d3sfh2rPktHi2dk5yrSleoVSDtj8Aqafequkpuh7YePr2HMfwcknP 9p1ilqTlIV1szrFCj+zke4ICJ72z3q7zcWeI+gmX4GcBAf6VCle4oTnVWRm4haPXruPf GjKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HRaTJrbn; 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 u1si8664380ejt.143.2019.10.01.04.35.10; Tue, 01 Oct 2019 04:35:35 -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=HRaTJrbn; 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 S1732215AbfJALd3 (ORCPT + 99 others); Tue, 1 Oct 2019 07:33:29 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:44970 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732086AbfJALd1 (ORCPT ); Tue, 1 Oct 2019 07:33:27 -0400 Received: by mail-pg1-f196.google.com with SMTP id i14so9403410pgt.11; Tue, 01 Oct 2019 04:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=09lI8sA7GBmAEMY2ZHF2GfLfirrTO8tbiRtZGHSh2eo=; b=HRaTJrbn7HI6PaiCQm9rKuYy1mccgKsXAOfaPFlYC1bvJUIysqgQ1PO51Yw7JlMNCU j4Ba/kpmHtiaHL/K1eLBDrIjETgKRAZgfXIaUtshwZKKPDTdw/rhFx4D/HzNpX4+2ab5 rI2TGfxxsOXPUwYB47r0K82qmnY2DVgoh0z4HlJghPktYRuWObIbqdLWalZH5zn0SmPI uj4Nre6CcOL+LoSaUkP2v9EK6sk6YBsbr2ujPHz7TNNP9us3o8XQMrYhXMTH3kfjIzJn BfduXWpI+DXhu36AXo7IX67AGF1fd8OcOT0s5OvXwRWNMkyTnsYsgRzPK1TbLmKvtvXa OZ8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=09lI8sA7GBmAEMY2ZHF2GfLfirrTO8tbiRtZGHSh2eo=; b=MPaHDYhV28RJtgomv5ej6QKZ8JHtzqWdWErYwI0UL49rSnMXPTtQdl4KeOZPLeYD0d WG/6sTH9MIzolBIFFq0m0Asn18tzBn078AaszG5JJ2s7dTYJ2V85dEtURbgitTAmCkuz T9TnfX1OvH8RI9E/Zc2VFdBHrjtb+5ADX5JzPPDB8ltWs6ScmrI75cU/JgD0e6Dg1CLn aMtof9woU02oQe4+frCYDrJENfacZOUcdUDe4UAJGylGMezCRWy6lrpQL4Nj4Hi8fKEM YcldIq/gm+DTz62Qh4MTJmlFIt12mqGxovam85dSoCA7uTnmecaqaw/LE2/0cunzjeXK Azxg== X-Gm-Message-State: APjAAAWu1Cxpc7ZIEQPMm8OMrp7RsOokrwKqas5TOP4qKwsybVNAbn4v lwWt/8mGzdOJ2p4u4f7pp+vLd+H/+PoHpg== X-Received: by 2002:a17:90a:d98a:: with SMTP id d10mr4929715pjv.65.1569929606610; Tue, 01 Oct 2019 04:33:26 -0700 (PDT) Received: from btopel-mobl.ger.intel.com ([192.55.55.41]) by smtp.gmail.com with ESMTPSA id a29sm16238634pfr.152.2019.10.01.04.33.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 04:33:26 -0700 (PDT) From: =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= To: linux-kernel@vger.kernel.org, acme@kernel.org Cc: =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , netdev@vger.kernel.org, bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, adrian.hunter@intel.com, jolsa@kernel.org, namhyung@kernel.org Subject: [PATCH 2/2] samples/bpf: fix build by setting HAVE_ATTR_TEST to zero Date: Tue, 1 Oct 2019 13:33:07 +0200 Message-Id: <20191001113307.27796-3-bjorn.topel@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191001113307.27796-1-bjorn.topel@gmail.com> References: <20191001113307.27796-1-bjorn.topel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Björn Töpel 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 --- samples/bpf/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index 1d9be26b4edd..42b571cde177 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 -- 2.20.1