aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorXu Panda <[email protected]>2023-01-05 20:17:57 +0800
committerJoel Fernandes (Google) <[email protected]>2023-04-05 13:47:43 +0000
commit16d78e8cda8b4447812f375480c8cb780f396c1e (patch)
tree52e3e9f76c0d78c5690c8c3f3ee526a6135f70c6 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent58d7668242647e661a20efe065519abd6454287e (diff)
rcu/trace: use strscpy() to instead of strncpy()
This commit saves a line of code by switching from strncpy() to strscpy() by permitting the later NUL assignment to be removed. While in the area, save another line by taking advantage of 100 characters. Acked-by: Joel Fernandes (Google) <[email protected]> Signed-off-by: Xu Panda <[email protected]> Signed-off-by: Yang Yang <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Joel Fernandes (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions