summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-11-06 03:48:18 +0300
committerNamhyung Kim <namhyung@kernel.org>2024-11-07 22:49:50 +0300
commit62a6d092f1e7e72365ecf65bbc3f268121130292 (patch)
treef9a5b9591ceae3804d530a1e8154ee874173d069 /tools/perf/util/scripting-engines/trace-event-python.c
parentd8c0f8b4ee989b79d8d92f954662efed38c7b23d (diff)
downloadlinux-62a6d092f1e7e72365ecf65bbc3f268121130292.tar.xz
perf stat: Expand metric+unit buffer size
Long metric names combined with units may exceed the metric_bf and lead to truncation. Double metric_bf in size to avoid this. Signed-off-by: Ian Rogers <irogers@google.com> Acked-by: Kan Liang <kan.liang@linux.intel.com> Link: https://lore.kernel.org/r/20241106004818.2174593-1-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions