aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorDima Kogan <[email protected]>2024-04-16 04:55:10 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-04-19 01:22:51 +0000
commita529bec023d7d14d9fb7d5b456921630e63edc6b (patch)
tree4e5a41d8b686df80fcf93423cfe395a0684418f4 /tools/perf/util/annotate.c
parentperf stat: Add new field in stat_config to enable hardware aware grouping (diff)
downloadkernel-a529bec023d7d14d9fb7d5b456921630e63edc6b.tar.gz
kernel-a529bec023d7d14d9fb7d5b456921630e63edc6b.zip
perf probe-event: Un-hardcode sizeof(buf)
In several places we had char buf[64]; ... snprintf(buf, 64, ...); This patch changes it to char buf[64]; ... snprintf(buf, sizeof(buf), ...); so the "64" is only stated once. Signed-off-by: Dima Kogan <[email protected]> Acked-by: Masami Hiramatsu <[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/annotate.c')
0 files changed, 0 insertions, 0 deletions