summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2016-02-26 14:24:27 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-01 19:18:42 -0800
commit99815cb579647a93eaf655933a5cfe1f3fd8488c (patch)
tree1173bef6b6ec8fd141ec9d2a2339b13e6e8ff048 /tools/perf/scripts/python/stackcollapse.py
parent3dd842896bdfe0acbe0088c20b5f8be581b0e690 (diff)
downloadlinux-99815cb579647a93eaf655933a5cfe1f3fd8488c.tar.gz
linux-99815cb579647a93eaf655933a5cfe1f3fd8488c.zip
staging: lustre: obdclass: Replace kmem_cache_alloc with kmem_cache_zalloc
Use kmem_cache_zalloc instead of manually setting kmem_cache_alloc with flag GFP_ZERO since kmem_alloc_zalloc sets allocated memory to zero. The Coccinelle semantic patch used to make this change is as follows: // <smpl> @@ expression e,f; @@ - kmem_cache_alloc(e, f |__GFP_ZERO) + kmem_cache_zalloc(e, f) // </smpl> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions