aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorChuang Wang <[email protected]>2022-11-21 16:08:31 +0800
committerSteven Rostedt (Google) <[email protected]>2022-11-23 19:08:31 -0500
commit9430cd62b6ccdf1f06915cc06561f0e364809604 (patch)
treeefa672b6262d43e9d4cb4caeb0994273c6356404 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent67543cd6b8eee53959e624b9ce420ca4d47be0c8 (diff)
tracing/perf: Use strndup_user instead of kzalloc/strncpy_from_user
This patch uses strndup_user instead of kzalloc + strncpy_from_user, which makes the code more concise. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Chuang Wang <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions