Files
linux/tools/perf/util
Ian Rogers e2b005d6ec perf metrics: Avoid segv if default metricgroup isn't set
A metric is default by having "Default" within its groups. The default
metricgroup name needn't be set and this can result in segv in
default_metricgroup_cmp and perf_stat__print_shadow_stats_metricgroup
that assume it has a value when there is a Default metric group. To
avoid the segv initialize the value to "".

Fixes: 1c0e47956a ("perf metrics: Sort the Default metricgroup")
Signed-off-by: Ian Rogers <[email protected]>
Reviewed-and-tested-by: Ilkka Koskinen <[email protected]>
Cc: James Clark <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Mike Leach <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: John Garry <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
2023-12-05 10:15:10 -08:00
..
2023-04-04 16:41:57 -03:00
2022-01-12 17:01:38 -08:00
2023-10-25 13:38:33 -07:00
2023-04-04 16:41:57 -03:00
2023-09-12 17:50:36 -03:00
2022-06-28 12:05:25 -03:00
…
…
2023-03-14 08:29:46 -03:00
…
…
…
…
…
2022-10-04 08:55:21 -03:00
2023-05-27 09:38:25 -03:00
2023-05-27 09:38:25 -03:00
2021-04-29 10:30:58 -03:00
2021-08-11 09:35:44 -03:00
…
2023-10-12 10:01:56 -07:00
2023-01-23 10:00:47 -03:00
…
…
2023-03-20 19:28:21 -03:00
2021-02-03 13:10:44 -03:00
2023-10-12 10:01:56 -07:00
…
2023-06-23 21:47:20 -07:00
2023-06-23 21:47:20 -07:00
2023-06-12 15:57:54 -03:00
…
…
2023-10-17 12:40:50 -07:00
2023-04-06 21:40:28 -03:00
2023-09-12 17:47:00 -03:00
…
…
2023-10-17 12:40:50 -07:00
…
…
2022-12-14 15:28:18 -03:00
…
2023-10-25 13:37:22 -07:00
2023-03-20 19:28:21 -03:00
…
…
…
…
2020-10-14 13:34:26 -03:00
…
…
2023-10-12 10:01:56 -07:00
…
…
2022-06-23 11:54:22 -03:00
2022-10-04 08:55:20 -03:00
…
2023-04-10 19:20:53 -03:00
2023-04-10 19:21:31 -03:00
…
…
…
…