build_combined_expr_ctx(9)
๐ build_combined_expr_ctx(9) ๐
okay so bestie, welcome to the Kernel API Manual glow-up for build_combined_expr_ctx(9) โ the function that's lowkey the group-chat organizer for metric IDs. โจ
โจ NAME โจ
build_combined_expr_ctx โ Make an expr_parse_ctx with all !group_events metric IDs, as the IDs are held in a set, duplicates will be removed.
Translation for the besties: it builds that combined expression context from every !group_events metric ID, and because those IDs are chilling in a set, any dupes get yeeted automatically. no cap. ๐
๐ SYNOPSIS ๐
int build_combined_expr_ctx (const struct list_head *metric_list ,
struct expr_parse_ctx **combined );
๐ ARGUMENTS ๐
metric_listโ List to take metrics from.combinedโ Out argument for result.
๐ฎ SEE ALSO ๐ฎ
Kernel file ./tools/perf/util/metricgroup.c โ yes, that's the source, go peek. ๐
setup_metric_events(9)resolve_metric(9)__add_metric(9)metric_list_cmp(9)default_metricgroup_cmp(9)metricgroup__add_metric(9)metricgroup__add_metric_list(9)find_tool_events(9)parse_ids(9)
that's the whole vibe, bestie ๐ซถ โ source/version ./tools/perf/util, dated October 2026, signed build_combined_expr_ctx(9). mwah ๐
๐ฆ 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