diff options
author | 2022-11-21 16:08:31 +0800 | |
---|---|---|
committer | 2022-11-23 19:08:31 -0500 | |
commit | 9430cd62b6ccdf1f06915cc06561f0e364809604 (patch) | |
tree | efa672b6262d43e9d4cb4caeb0994273c6356404 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Documentation/osnoise: Add osnoise/options documentation (diff) | |
download | wireguard-linux-9430cd62b6ccdf1f06915cc06561f0e364809604.tar.xz wireguard-linux-9430cd62b6ccdf1f06915cc06561f0e364809604.zip |
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/20221121080831.707409-1-nashuiliang@gmail.com
Signed-off-by: Chuang Wang <nashuiliang@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions