metric_list_cmp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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


mwah πŸ’‹ β€” this lil page comes from ./tools/perf/util, dated October 2026. Byeee 🫢✨

πŸ“¦ where this page comes from