aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorHou Tao <[email protected]>2023-11-01 11:24:53 +0800
committerAlexei Starovoitov <[email protected]>2023-11-09 18:58:40 -0800
commitd79924ca579c647d5dc55f605899c98f7ea04d0f (patch)
treecebfdf98a2a67fd0a9dc9150db3e723e0c8dfa70 /tools/perf/scripts/python/task-analyzer.py
parentcd9c127069c040d6b022f1ff32fed4b52b9a4017 (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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions