summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorXu Panda <xu.panda@zte.com.cn>2022-12-03 09:19:32 +0300
committerIngo Molnar <mingo@kernel.org>2023-01-07 13:47:35 +0300
commit7ddf0050a21fdcc025c3cb1055fe3db60df1cd97 (patch)
tree95a2b11a179a19cadef75c8d389aa9cbde43a728 /tools/perf/scripts/python/exported-sql-viewer.py
parentbd4edba2653aeef0119b7a945f07e58711343bf9 (diff)
downloadlinux-7ddf0050a21fdcc025c3cb1055fe3db60df1cd97.tar.xz
x86/mce/dev-mcelog: use strscpy() to instead of strncpy()
The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL terminated strings. Signed-off-by: Xu Panda <xu.panda@zte.com.cn> Signed-off-by: Yang Yang <yang.yang29@zte.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Tony Luck <tony.luck@intel.com> Link: https://lore.kernel.org/r/202212031419324523731@zte.com.cn
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions