aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorSong Liu <[email protected]>2020-07-24 13:05:02 -0700
committerAlexei Starovoitov <[email protected]>2020-07-25 20:16:36 -0700
commit2b9b305fcdda1810bdffeb599361174eb2cd0b7c (patch)
tree6ac97431bb7987d56ee380f5dc0fb7eb52fb5587 /scripts/gdb/linux/vmalloc.py
parentdfcdf0e9ad2e006196986f363c99b2097aec5ef0 (diff)
bpf: Fix build on architectures with special bpf_user_pt_regs_t
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 <[email protected]> Signed-off-by: Song Liu <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions