H A D | metricgroup.c | 182 static bool metric__group_events(const struct pmu_metric *pm) in metric__group_events() 184 switch (pm->event_grouping) { in metric__group_events() 190 metric__watchdog_constraint_hint(pm->metric_name, /*foot=*/false); in metric__group_events() 212 static struct metric *metric__new(const struct pmu_metric *pm, in metric__new() 229 m->pmu = pm->pmu ?: "cpu"; in metric__new() 230 m->metric_name = pm->metric_name; in metric__new() 231 m->default_metricgroup_name = pm->default_metricgroup_name ?: ""; in metric__new() 238 m->metric_expr = pm->metric_expr; in metric__new() 239 m->metric_threshold = pm->metric_threshold; in metric__new() 240 m->metric_unit = pm in metric__new() 181 metric__group_events(const struct pmu_metric * pm) metric__group_events() argument 211 metric__new(const struct pmu_metric * pm,const char * modifier,bool metric_no_group,int runtime,const char * user_requested_cpu_list,bool system_wide) metric__new() argument 374 match_pm_metric(const struct pmu_metric * pm,const char * pmu,const char * metric) match_pm_metric() argument 452 metricgroup__add_to_mep_groups(const struct pmu_metric * pm,struct rblist * groups) metricgroup__add_to_mep_groups() argument 489 metricgroup__sys_event_iter(const struct pmu_metric * pm,const struct pmu_metrics_table * table,void * data) metricgroup__sys_event_iter() argument 509 metricgroup__add_to_mep_groups_callback(const struct pmu_metric * pm,const struct pmu_metrics_table * table __maybe_unused,void * vdata) metricgroup__add_to_mep_groups_callback() argument 854 struct pmu_metric pm; resolve_metric() member 868 struct pmu_metric pm; resolve_metric() local 923 __add_metric(struct list_head * metric_list,const struct pmu_metric * pm,const char * modifier,bool metric_no_group,bool metric_no_threshold,int runtime,const char * user_requested_cpu_list,bool system_wide,struct metric * root_metric,const struct visited_metric * visited,const struct pmu_metrics_table * table) __add_metric() argument 1041 struct pmu_metric *pm; global() member 1044 metricgroup__find_metric_callback(const struct pmu_metric * pm,const struct pmu_metrics_table * table __maybe_unused,void * vdata) metricgroup__find_metric_callback() argument 1064 metricgroup__find_metric(const char * pmu,const char * metric,const struct pmu_metrics_table * table,struct pmu_metric * pm) metricgroup__find_metric() argument 1077 add_metric(struct list_head * metric_list,const struct pmu_metric * pm,const char * modifier,bool metric_no_group,bool metric_no_threshold,const char * user_requested_cpu_list,bool system_wide,struct metric * root_metric,const struct visited_metric * visited,const struct pmu_metrics_table * table) add_metric() argument 1114 metricgroup__add_metric_sys_event_iter(const struct pmu_metric * pm,const struct pmu_metrics_table * table __maybe_unused,void * data) metricgroup__add_metric_sys_event_iter() argument 1195 metricgroup__add_metric_callback(const struct pmu_metric * pm,const struct pmu_metrics_table * table,void * vdata) metricgroup__add_metric_callback() argument 1727 metricgroup__has_metric_callback(const struct pmu_metric * pm,const struct pmu_metrics_table * table __maybe_unused,void * vdata) metricgroup__has_metric_callback() argument 1751 metricgroup__topdown_max_level_callback(const struct pmu_metric * pm,const struct pmu_metrics_table * table __maybe_unused,void * data) metricgroup__topdown_max_level_callback() argument [all...] |