aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-11-23 18:01:57 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-11-24 12:37:08 +0000
commita7ec1dd2d744208ca814ebde8c97f94e041625ef (patch)
tree60e1fb012cbfc34fa441990f7cbe6a3034300cab /tools/perf/util/scripting-engines/trace-event-perl.c
parentperf stat: Do not align time prefix in CSV output (diff)
downloadkernel-a7ec1dd2d744208ca814ebde8c97f94e041625ef.tar.gz
kernel-a7ec1dd2d744208ca814ebde8c97f94e041625ef.zip
perf stat: Use scnprintf() in prepare_interval()
It should not use sprintf() anymore. Let's pass the buffer size and use the safer scnprintf() instead. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Athira Jajeev <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Xing Zhengjun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions