diff options
author | 2024-10-24 06:58:09 -1000 | |
---|---|---|
committer | 2024-10-24 06:58:09 -1000 | |
commit | b7d0bbcf0c9828dd6974f8c1ccbdf2e13f3ad73f (patch) | |
tree | 251c6e143a174be5f5082055d888983dc309ee56 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | sched_ext: Rename CFI stubs to names that are recognized by BPF (diff) | |
download | wireguard-linux-b7d0bbcf0c9828dd6974f8c1ccbdf2e13f3ad73f.tar.xz wireguard-linux-b7d0bbcf0c9828dd6974f8c1ccbdf2e13f3ad73f.zip |
sched_ext: Replace set_arg_maybe_null() with __nullable CFI stub tags
ops.dispatch() and ops.yield() may be fed a NULL task_struct pointer.
set_arg_maybe_null() is used to tell the verifier that they should be NULL
checked before being dereferenced. BPF now has an a lot prettier way to
express this - tagging arguments in CFI stubs with __nullable. Replace
set_arg_maybe_null() with __nullable CFI stub tags.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David Vernet <void@manifault.com>
Acked-by: Martin KaFai Lau <martin.lau@kernel.org>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions