metric_list_cmp(9)
π metric_list_cmp(9) π
hiii bestie, welcome to the Kernel API Manual page for metric_list_cmp π This is a list_sort comparator with main character energy: metrics with more events get sorted to the front, and tool events are excluded from that count. Periodt. π
β¨ NAME β¨
metric_list_cmp β a list_sort comparator that sorts metrics with more events to the front. Tool events are excluded from the count.
π¦ SYNOPSIS π¦
int metric_list_cmp (void *priv , const struct list_head *l , const struct list_head *r );
πΈ ARGUMENTS πΈ
okay so the manual is being all mysterious here β these are literally marked as -- undescribed --:
privβ-- undescribed --lβ-- undescribed --rβ-- undescribed --
π SEE ALSO π
Kernel file ./tools/perf/util/metricgroup.c
setup_metric_events(9)resolve_metric(9)__add_metric(9)default_metricgroup_cmp(9)metricgroup__add_metric(9)metricgroup__add_metric_list(9)find_tool_events(9)build_combined_expr_ctx(9)parse_ids(9)
mwah π β this lil page comes from ./tools/perf/util, dated October 2026. Byeee π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms