summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorKaike Wan <kaike.wan@intel.com>2015-08-14 15:52:08 +0300
committerDoug Ledford <dledford@redhat.com>2015-08-31 01:12:25 +0300
commit5d2657708ec25b9fb3dd174443b1f647babcbe62 (patch)
tree67b4afc7e7f248008e2a1a60f6f2eb0e946bbf32 /tools/perf/scripts/python/syscall-counts.py
parentbc10ed7d3d19ff61427007b4d7bf98d3e57bb333 (diff)
downloadlinux-5d2657708ec25b9fb3dd174443b1f647babcbe62.tar.xz
IB/sa: Allocate SA query with kzalloc
Replace kmalloc with kzalloc so that all uninitialized fields in SA query will be zero-ed out to avoid unintentional consequence. This prepares the SA query structure to accept new fields in the future. Signed-off-by: Kaike Wan <kaike.wan@intel.com> Signed-off-by: John Fleck <john.fleck@intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions