diff options
author | 2024-06-27 17:06:03 -0700 | |
---|---|---|
committer | 2024-06-28 10:56:03 -0700 | |
commit | caa463bb79a82ac5fce05a0dcf7893d94c84fc5e (patch) | |
tree | 109d3a089e0ede3711b0f6183866b06bb5c367fc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf pmu: Don't de-duplicate core PMUs (diff) | |
download | wireguard-linux-caa463bb79a82ac5fce05a0dcf7893d94c84fc5e.tar.xz wireguard-linux-caa463bb79a82ac5fce05a0dcf7893d94c84fc5e.zip |
perf stat: Fix a segfault with --per-cluster --metric-only
The new --per-cluster option was added recently but it forgot to update
the aggr_header fields which are used for --metric-only option. And it
resulted in a segfault due to NULL string in fputs().
Fixes: cbc917a1b03b ("perf stat: Support per-cluster aggregation")
Reviewed-by: Yicong Yang <yangyicong@hisilicon.com>
Tested-by: Yicong Yang <yangyicong@hisilicon.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: https://lore.kernel.org/r/20240628000604.1296808-1-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions