aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2023-08-27 08:28:11 -0700
committerAlexei Starovoitov <[email protected]>2023-09-08 08:42:18 -0700
commit6adf82a4398d774398b4538dad561958c2c9521e (patch)
treef94db8a13ea660ba284fb176cbd09cebfc460791 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent968c76cb3dc6cc86e8099ecaa5c30dc0d4738a30 (diff)
selftests/bpf: Add tests for array map with local percpu kptr
Add non-sleepable and sleepable tests with percpu kptr. For non-sleepable test, four programs are executed in the order of: 1. allocate percpu data. 2. assign values to percpu data. 3. retrieve percpu data. 4. de-allocate percpu data. The sleepable prog tried to exercise all above 4 steps in a single prog. Also for sleepable prog, rcu_read_lock is needed to protect direct percpu ptr access (from map value) and following bpf_this_cpu_ptr() and bpf_per_cpu_ptr() helpers. Signed-off-by: Yonghong Song <[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