Thread (1 message) flat view 1 message, 1 author, 2020-07-25

Re: [PATCH bpf-next] bpf: fix build on architectures with special bpf_user_pt_regs_t

From: Alexei Starovoitov <hidden>
Date: 2020-07-25 08:41:06
Also in: bpf, lkml

On Fri, Jul 24, 2020 at 1:08 PM Song Liu [off-list ref] wrote:
Architectures like s390, powerpc, arm64, riscv have speical definition of
bpf_user_pt_regs_t. So we need to cast the pointer before passing it to
bpf_get_stack(). This is similar to bpf_get_stack_tp().

Fixes: 03d42fd2d83f ("bpf: Separate bpf_get_[stack|stackid] for perf events BPF")
Reported-by: kernel test robot <redacted>
Signed-off-by: Song Liu <redacted>
Applied. Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help