Re: [PATCH v3 05/18] rv: Add generic monitor event tracepoints and BPF kfuncs

From: Alexei Starovoitov

Date: Wed Dec 02 2026 - 20:46:59 EST


On Wed, Dec 02, 2026 at 08:41 AM Gabriele Monaco <gmonaco@xxxxxxxxxx> wrote:
> I tried that but since the exact rodata string isn't known (I do something like
> states[id] with variable id) the verifier didn't quite like it.

Are you on mainline? Then it will say "R3 is not a constant address".
bpf-next accepts states[id] since
commit 5124dee218b2 ("bpf: Allow a range of offsets for a constant string")

Pls try bpf-next and share the verifier log if it still fails.