diff options
author | Namhyung Kim <[email protected]> | 2022-11-23 10:01:57 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-11-24 09:37:08 -0300 |
commit | a7ec1dd2d744208ca814ebde8c97f94e041625ef (patch) | |
tree | 60e1fb012cbfc34fa441990f7cbe6a3034300cab /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 8e55ae24c08fd5bf39b632df72122a7c2591c03c (diff) |
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