diff options
author | Hou Tao <[email protected]> | 2023-11-01 11:24:53 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-11-09 18:58:40 -0800 |
commit | d79924ca579c647d5dc55f605899c98f7ea04d0f (patch) | |
tree | cebfdf98a2a67fd0a9dc9150db3e723e0c8dfa70 /tools/perf/scripts/python/sched-migration.py | |
parent | cd9c127069c040d6b022f1ff32fed4b52b9a4017 (diff) |
selftests/bpf: Use value with enough-size when updating per-cpu map
When updating per-cpu map in map_percpu_stats test, patch_map_thread()
only passes 4-bytes-sized value to bpf_map_update_elem(). The expected
size of the value is 8 * num_possible_cpus(), so fix it by passing a
value with enough-size for per-cpu map update.
Signed-off-by: Hou Tao <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[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