From: Greg Kroah-Hartman <gregkh@linuxfoundation•org>
To: linux-kernel@vger•kernel.org
Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation•org>,
stable@vger•kernel.org, "Björn Töpel" <bjorn.topel@intel•com>,
"KP Singh" <kpsingh@google•com>,
"Song Liu" <songliubraving@fb•com>,
"Adrian Hunter" <adrian.hunter@intel•com>,
"Alexei Starovoitov" <ast@kernel•org>,
"Jiri Olsa" <jolsa@kernel•org>,
"Namhyung Kim" <namhyung@kernel•org>,
bpf@vger•kernel.org, netdev@vger•kernel.org,
"Arnaldo Carvalho de Melo" <acme@redhat•com>,
"Daniel Borkmann" <daniel@iogearbox•net>,
"Sasha Levin" <sashal@kernel•org>
Subject: [PATCH 5.3 033/135] samples/bpf: fix build by setting HAVE_ATTR_TEST to zero
Date: Tue, 3 Dec 2019 23:34:33 +0100 [thread overview]
Message-ID: <20191203213012.721079232@linuxfoundation.org> (raw)
In-Reply-To: <20191203213005.828543156@linuxfoundation.org>
From: Björn Töpel <bjorn.topel@intel•com>
[ Upstream commit 04ec044b7d30800296824783df7d9728d16d7567 ]
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 <bjorn.topel@intel•com>
Tested-by: KP Singh <kpsingh@google•com>
Acked-by: Song Liu <songliubraving@fb•com>
Cc: Adrian Hunter <adrian.hunter@intel•com>
Cc: Alexei Starovoitov <ast@kernel•org>
Cc: Jiri Olsa <jolsa@kernel•org>
Cc: Namhyung Kim <namhyung@kernel•org>
Cc: bpf@vger•kernel.org
Cc: netdev@vger•kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat•com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox•net>
Link: http://lore.kernel.org/bpf/20191001113307.27796-3-bjorn.topel@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel•org>
---
samples/bpf/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile
index 1d9be26b4edd7..42b571cde1778 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
parent reply other threads:[~2019-12-03 22:40 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20191203213005.828543156@linuxfoundation.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191203213012.721079232@linuxfoundation.org \
--to=gregkh@linuxfoundation$(echo .)org \
--cc=acme@redhat$(echo .)com \
--cc=adrian.hunter@intel$(echo .)com \
--cc=ast@kernel$(echo .)org \
--cc=bjorn.topel@intel$(echo .)com \
--cc=bpf@vger$(echo .)kernel.org \
--cc=daniel@iogearbox$(echo .)net \
--cc=jolsa@kernel$(echo .)org \
--cc=kpsingh@google$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=namhyung@kernel$(echo .)org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=sashal@kernel$(echo .)org \
--cc=songliubraving@fb$(echo .)com \
--cc=stable@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox