summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKenneth Lee <klee33@uw.edu>2022-08-19 08:42:55 +0300
committerIlya Dryomov <idryomov@gmail.com>2022-10-04 20:18:08 +0300
commitaa1d627207cace003163dee24d1c06fa4e910c6b (patch)
tree5e33e9d78dac8780ea5029a214e2185829118db0 /tools/perf/scripts/python/stackcollapse.py
parent7c3ea9870e09e193981695dd67c37a1a2b6d600b (diff)
downloadlinux-aa1d627207cace003163dee24d1c06fa4e910c6b.tar.xz
ceph: Use kcalloc for allocating multiple elements
Prefer using kcalloc(a, b) over kzalloc(a * b) as this improves semantics since kcalloc is intended for allocating an array of memory. Signed-off-by: Kenneth Lee <klee33@uw.edu> Reviewed-by: Xiubo Li <xiubli@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions