summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorMohammad Shehar Yaar Tausif <sheharyaar48@gmail.com>2024-05-16 10:24:11 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-05-18 20:46:16 +0300
commit6f130e4d4a5f7174f98300376f3994817ad7e21c (patch)
tree3d557fc55d69779ddc771515c05f96a2c719ecb3 /tools/perf/scripts/python/sched-migration.py
parent34021caef79f76e70ac31247d321ecd0683c4939 (diff)
downloadlinux-6f130e4d4a5f7174f98300376f3994817ad7e21c.tar.xz
bpf: Fix order of args in call to bpf_map_kvcalloc
The original function call passed size of smap->bucket before the number of buckets which raises the error 'calloc-transposed-args' on compilation. Signed-off-by: Mohammad Shehar Yaar Tausif <sheharyaar48@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20240516072411.42016-1-sheharyaar48@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions