aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2024-01-04 16:09:03 -0800
committerAlexei Starovoitov <[email protected]>2024-01-23 14:40:21 -0800
commit18810ad3929ff6b5d8e67e3adc40d690bd780fd6 (patch)
treed40ce39247e62ac7f5a412cc1d90bd44c4983981 /tools/perf/scripts/python
parente31f98c1af810a13395ee9ab57402d82272445af (diff)
bpf: make sure scalar args don't accept __arg_nonnull tag
Move scalar arg processing in btf_prepare_func_args() after all pointer arg processing is done. This makes it easier to do validation. One example of unintended behavior right now is ability to specify __arg_nonnull for integer/enum arguments. This patch fixes this. Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Eduard Zingerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions