parse_aliases(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– parse_aliases(9) πŸ’–

okay bestie, this is the Kernel API Manual page for parse_aliases(9) β€” group-chat recap below, but every single deet stays intact. ✨

✨ NAME ✨

parse_aliases searches names for entries beginning or equalling str, ignoring case. If mutliple entries in names match str, then the longest one is chosen. longest wins, periodt πŸ’…

🌸 SYNOPSIS 🌸

int parse_aliases (const char *str , const char *const names[][EVSEL__MAX_ALIASES] , int size , int *longest );

πŸŽ€ ARGUMENTS πŸŽ€

  • str β€” the needle to look for. πŸͺ‘
  • names β€” the haystack to search. 🌾
  • size β€” the size of the haystack. πŸ“
  • longest β€” Out argument giving the length of the matching entry. πŸ“

πŸ”— SEE ALSO πŸ”—

Kernel file ./tools/perf/util/parse-events.c πŸ’– β€” also peep fix_raw(9), parse_events__decode_legacy_cache(9), and parse_events__filter_pmu(9).


mwah πŸ’‹ this page’s source/version is ./tools/perf/util, its date is October 2026, and it’s still parse_aliases(9) β€” bye bestie! 🫢

πŸ“¦ where this page comes from