aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-07-04 20:03:37 +0800
committerLuis Chamberlain <mcgrof@kernel.org>2022-07-11 10:49:14 -0700
commit2b9401e90d369b5fbb8a62e9034ad97297594475 (patch)
tree0cc38c5bba811c9dc262749c4192be778d129635 /tools/perf/scripts/python/libxed.py
parent87c482bdfa79f378297d92af49cdf265be199df5 (diff)
module: Use vzalloc() instead of vmalloc()/memset(0)
Use vzalloc() instead of vmalloc() and memset(0) to simpify the code. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Reviewed-by: Aaron Tomlin <atomlin@redhat.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions