summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2022-03-12 13:27:04 +0300
committerKalle Valo <kvalo@kernel.org>2022-03-16 18:28:40 +0300
commit3c0e3ca6028bcb31f76ac16417de6406c17b93f0 (patch)
tree8929c7409770400965489926e3a67b981f19d2c3 /tools/perf/scripts/python/export-to-postgresql.py
parente7d1fc0b5ff24c0adc215b913e1cefa949a83e93 (diff)
downloadlinux-3c0e3ca6028bcb31f76ac16417de6406c17b93f0.tar.xz
zd1201: use kzalloc
Use kzalloc instead of kmalloc + memset. The semantic patch that makes this change is: (https://coccinelle.gitlabpages.inria.fr/website/) //<smpl> @@ expression res, size, flag; @@ - res = kmalloc(size, flag); + res = kzalloc(size, flag); ... - memset(res, 0, size); //</smpl> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220312102705.71413-6-Julia.Lawall@inria.fr
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions