diff options
author | Namhyung Kim <[email protected]> | 2024-06-27 17:06:03 -0700 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2024-06-28 10:56:03 -0700 |
commit | caa463bb79a82ac5fce05a0dcf7893d94c84fc5e (patch) | |
tree | 109d3a089e0ede3711b0f6183866b06bb5c367fc /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 7afbf90ea2e238c4d049ff59dbb6c5f1a938e669 (diff) |
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 <[email protected]>
Tested-by: Yicong Yang <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions