summaryrefslogtreecommitdiff
path: root/security/yama
diff options
context:
space:
mode:
authorChris Down <chris@chrisdown.name>2020-01-22 00:01:10 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-24 08:36:55 +0100
commitea038a5270b549efb5af01c43ce1a8963e841c97 (patch)
treef27eaa4f0bd10fdf5296e273cee0589982a3844c /security/yama
parentf11aefc9961db06147890a2877cc4f9845008b89 (diff)
bpf, btf: Always output invariant hit in pahole DWARF to BTF transform
[ Upstream commit 2a67a6ccb01f21b854715d86ff6432a18b97adb3 ] When trying to compile with CONFIG_DEBUG_INFO_BTF enabled, I got this error: % make -s Failed to generate BTF for vmlinux Try to disable CONFIG_DEBUG_INFO_BTF make[3]: *** [vmlinux] Error 1 Compiling again without -s shows the true error (that pahole is missing), but since this is fatal, we should show the error unconditionally on stderr as well, not silence it using the `info` function. With this patch: % make -s BTF: .tmp_vmlinux.btf: pahole (pahole) is not available Failed to generate BTF for vmlinux Try to disable CONFIG_DEBUG_INFO_BTF make[3]: *** [vmlinux] Error 1 Signed-off-by: Chris Down <chris@chrisdown.name> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200122000110.GA310073@chrisdown.name Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions