diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-10-31 15:01:39 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-11-01 21:37:31 +0300 |
commit | 242b32d8073ed16868ff0f9381732e9782dea63b (patch) | |
tree | c586705e882be3b8e6e9ceedf9b99bcbd5b4415c /tools/perf/scripts/python/mem-phys-addr.py | |
parent | ee3685a98ea920369696d31e54d1fe6a939ed65f (diff) | |
download | linux-242b32d8073ed16868ff0f9381732e9782dea63b.tar.xz |
tracing: Replace strncpy() with strscpy() when copying comm
Replace the depreciated[1] strncpy() calls with strscpy()
when copying comm.
Link: https://github.com/KSPP/linux/issues/90 [1]
Cc: <mhiramat@kernel.org>
Cc: <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/20241031120139.1343025-1-ruanjinjie@huawei.com
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions