aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-05-15 22:45:30 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-05-16 18:21:30 +0000
commit9dde12767aa19696a7fb28b2320119b87fb9d299 (patch)
treefc401647c83be44ddcfae0c1f56750ec29799a2b /fs/jbd2/commit.c
parentperf lock contention: Add empty 'struct rq' to satisfy libbpf 'runqueue' type... (diff)
downloadkernel-9dde12767aa19696a7fb28b2320119b87fb9d299.tar.gz
kernel-9dde12767aa19696a7fb28b2320119b87fb9d299.zip
perf metrics: Avoid segv with --topdown for metrics without a group
Some metrics may not have a metric_group which can result in segvs with "perf stat --topdown". Add a condition for the no metric_group case. Fixes: 1647cd5b8802698f ("perf stat: Implement --topdown using json metrics") Reported-by: Kan Liang <[email protected]> Signed-off-by: Ian Rogers <[email protected]> Tested-by: Kan Liang <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kajol Jain <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions