aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2022-11-04 00:39:53 +0530
committerAlexei Starovoitov <[email protected]>2022-11-03 19:31:18 -0700
commitf5e477a861e4a20d8a1c5f7a245f3a3c3c376b03 (patch)
tree8f00e791553646a25e3e744566593ce18896d70c /tools/perf/scripts/python/event_analyzing_sample.py
parent261f4664caffdeb9dff4e83ee3c0334b1c3a552f (diff)
bpf: Fix slot type check in check_stack_write_var_off
For the case where allow_ptr_leaks is false, code is checking whether slot type is STACK_INVALID and STACK_SPILL and rejecting other cases. This is a consequence of incorrectly checking for register type instead of the slot type (NOT_INIT and SCALAR_VALUE respectively). Fix the check. Fixes: 01f810ace9ed ("bpf: Allow variable-offset stack access") Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions