aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2022-10-25 11:45:24 -0700
committerAlexei Starovoitov <[email protected]>2022-10-25 23:11:47 -0700
commit387b532138eed5b12e1afa68cafb6a389507310f (patch)
treefdf22af5765c1f3c2e0c31b61f25e4e249459a20 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent0334b4d8822a22b3593aec7361c50e9ebc31ee88 (diff)
selftests/bpf: Tracing prog can still do lookup under busy lock
This patch modifies the task_ls_recursion test to check that the first bpf_task_storage_get(&map_a, ...) in BPF_PROG(on_update) can still do the lockless lookup even it cannot acquire the percpu busy lock. If the lookup succeeds, it will increment the value by 1 and the value in the task storage map_a will become 200+1=201. After that, BPF_PROG(on_update) tries to delete from map_a and should get -EBUSY because it cannot acquire the percpu busy lock after finding the data. Signed-off-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions