diff options
| author | Mohammad Shehar Yaar Tausif <[email protected]> | 2024-05-16 12:54:11 +0530 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-05-18 10:46:16 -0700 |
| commit | 6f130e4d4a5f7174f98300376f3994817ad7e21c (patch) | |
| tree | 3d557fc55d69779ddc771515c05f96a2c719ecb3 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 34021caef79f76e70ac31247d321ecd0683c4939 (diff) | |
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 <[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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions