[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210901103634.26558-1-nikita.shubin@maquefel.me>
Date: Wed, 1 Sep 2021 13:36:34 +0300
From: Nikita Shubin <nikita.shubin@...uefel.me>
To: atish.patra@....com
Cc: alankao@...estech.com, anup.patel@....com, bpf@...r.kernel.org,
daniel.lezcano@...aro.org, guoren@...ux.alibaba.com,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-perf-users@...r.kernel.org, linux-riscv@...ts.infradead.org,
mick@....forth.gr, nickhu@...estech.com, palmer@...belt.com,
paul.walmsley@...ive.com, vincent.chen@...ive.com,
wangkefeng.wang@...wei.com, xypron.glpk@....de
Subject: Not compiling with CONFIG_BPF_SYSCALL enabled
Hello, Atish.
The above series won't compile with CONFIG_BPF_SYSCALL set:
linux/kernel/events/core.c:9912:18: error: assignment to
'bpf_user_pt_regs_t *' {aka 'struct user_regs_struct *'}
from incompatible pointer type 'struct pt_regs *'
[-Werror=incompatible-pointer-types]
9912 | ctx.regs = perf_arch_bpf_user_pt_regs(regs);
Just informing you - hope this is helpful.
Yours,
Nikita Shubin
Powered by blists - more mailing lists