Searched refs:nr_aggr (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/tools/perf/util/ |
D | stat.c | 86 memset(aggr, 0, sizeof(*aggr) * ps->nr_aggr); in evsel__reset_aggr_stats() 97 static int evsel__alloc_aggr_stats(struct evsel *evsel, int nr_aggr) in evsel__alloc_aggr_stats() argument 104 ps->nr_aggr = nr_aggr; in evsel__alloc_aggr_stats() 105 ps->aggr = calloc(nr_aggr, sizeof(*ps->aggr)); in evsel__alloc_aggr_stats() 112 int evlist__alloc_aggr_stats(struct evlist *evlist, int nr_aggr) in evlist__alloc_aggr_stats() argument 117 if (evsel__alloc_aggr_stats(evsel, nr_aggr) < 0) in evlist__alloc_aggr_stats() 123 static int evsel__alloc_stat_priv(struct evsel *evsel, int nr_aggr) in evsel__alloc_stat_priv() argument 133 if (nr_aggr && evsel__alloc_aggr_stats(evsel, nr_aggr) < 0) { in evsel__alloc_stat_priv() 179 static int evsel__alloc_stats(struct evsel *evsel, int nr_aggr, bool alloc_raw) in evsel__alloc_stats() argument 181 if (evsel__alloc_stat_priv(evsel, nr_aggr) < 0 || in evsel__alloc_stats() [all …]
|
D | stat.h | 39 int nr_aggr; member 198 int evlist__alloc_aggr_stats(struct evlist *evlist, int nr_aggr);
|
/linux-6.6.21/tools/perf/ |
D | builtin-stat.c | 2305 int nr_aggr = stat_config.aggr_map->nr; in process_stat_config_event() local 2307 if (evlist__alloc_aggr_stats(session->evlist, nr_aggr) < 0) { in process_stat_config_event()
|