aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorHou Tao <[email protected]>2023-10-20 21:32:02 +0800
committerAlexei Starovoitov <[email protected]>2023-10-20 14:15:13 -0700
commitd440ba91ca4d3004709876779d40713a99e21f6a (patch)
treee00e8bcbaedd9a6bc3783abe6edcb71b3c2ac382 /tools/perf/scripts/python/sched-migration.py
parente383a45902337356d9ccad797094a27c6b2150f9 (diff)
selftests/bpf: Add more test cases for bpf memory allocator
Add the following 3 test cases for bpf memory allocator: 1) Do allocation in bpf program and free through map free 2) Do batch per-cpu allocation and per-cpu free in bpf program 3) Do per-cpu allocation in bpf program and free through map free For per-cpu allocation, because per-cpu allocation can not refill timely sometimes, so test 2) and test 3) consider it is OK for bpf_percpu_obj_new_impl() to return NULL. Signed-off-by: Hou Tao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions