diff options
author | Hou Tao <houtao1@huawei.com> | 2022-02-26 13:19:05 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-02-28 13:48:08 +0100 |
commit | 68e4f238b0e9d3670a1612ad900a6e98b2b3f7dd (patch) | |
tree | 7cd5405d8b200b1eded3db29a6a7856bc7ce3e6a /lib/Kconfig.debug | |
parent | bpf: Fix issue with bpf preload module taking over stdout/stdin of kernel. (diff) | |
download | linux-68e4f238b0e9d3670a1612ad900a6e98b2b3f7dd.tar.xz linux-68e4f238b0e9d3670a1612ad900a6e98b2b3f7dd.zip |
bpf, arm64: Call build_prologue() first in first JIT pass
BPF line info needs ctx->offset to be the instruction offset in the whole JITed
image instead of the body itself, so also call build_prologue() first in first
JIT pass.
Fixes: 37ab566c178d ("bpf: arm64: Enable arm64 jit to provide bpf_line_info")
Signed-off-by: Hou Tao <houtao1@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220226121906.5709-2-houtao1@huawei.com
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions