summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2021-03-24 17:42:20 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-25 02:26:58 +0300
commit20fd4f421cf4c21ab37a8bf31db50c69f1b49355 (patch)
tree2a962f1200f5d0bc2838137e9c82bc6f91eee6a2 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentc3dde0ee7163856bf295fdbc09205b61581a7f92 (diff)
downloadlinux-20fd4f421cf4c21ab37a8bf31db50c69f1b49355.tar.xz
netdevsim: switch to memdup_user_nul()
Use memdup_user_nul() helper instead of open-coding to simplify the code. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions