Searched refs:nr_attrs (Results 1 – 3 of 3) sorted by relevance
/tools/perf/util/ |
D | evlist.c | 261 static int evlist__add_attrs(struct evlist *evlist, struct perf_event_attr *attrs, size_t nr_attrs) in evlist__add_attrs() argument 267 for (i = 0; i < nr_attrs; i++) { in evlist__add_attrs() 284 … __evlist__add_default_attrs(struct evlist *evlist, struct perf_event_attr *attrs, size_t nr_attrs) in __evlist__add_default_attrs() argument 288 for (i = 0; i < nr_attrs; i++) in __evlist__add_default_attrs() 291 return evlist__add_attrs(evlist, attrs, nr_attrs); in __evlist__add_default_attrs()
|
D | evlist.h | 107 struct perf_event_attr *attrs, size_t nr_attrs);
|
D | header.c | 4005 int nr_attrs, nr_ids, i, j, err; in perf_session__read_header() local 4052 nr_attrs = f_header.attrs.size / f_header.attr_size; in perf_session__read_header() 4055 for (i = 0; i < nr_attrs; i++) { in perf_session__read_header()
|