diff options
author | Jinjie Ruan <[email protected]> | 2024-10-31 20:01:39 +0800 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-11-01 14:37:31 -0400 |
commit | 242b32d8073ed16868ff0f9381732e9782dea63b (patch) | |
tree | c586705e882be3b8e6e9ceedf9b99bcbd5b4415c /tools/perf/scripts/python/netdev-times.py | |
parent | ee3685a98ea920369696d31e54d1fe6a939ed65f (diff) |
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: <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Jinjie Ruan <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions