diff options
| author | 2023-11-01 11:24:53 +0800 | |
|---|---|---|
| committer | 2023-11-09 18:58:40 -0800 | |
| commit | d79924ca579c647d5dc55f605899c98f7ea04d0f (patch) | |
| tree | cebfdf98a2a67fd0a9dc9150db3e723e0c8dfa70 /scripts/Makefile.thinlto | |
| parent | Merge branch 'bpf-register-bounds-logic-and-testing-improvements' (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 <houtao1@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20231101032455.3808547-2-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
