Searched refs:perf_evlist (Results 1 – 11 of 11) sorted by relevance
/tools/lib/perf/include/perf/ |
D | evlist.h | 8 struct perf_evlist; 13 LIBPERF_API void perf_evlist__add(struct perf_evlist *evlist, 15 LIBPERF_API void perf_evlist__remove(struct perf_evlist *evlist, 17 LIBPERF_API struct perf_evlist *perf_evlist__new(void); 18 LIBPERF_API void perf_evlist__delete(struct perf_evlist *evlist); 19 LIBPERF_API struct perf_evsel* perf_evlist__next(struct perf_evlist *evlist, 21 LIBPERF_API int perf_evlist__open(struct perf_evlist *evlist); 22 LIBPERF_API void perf_evlist__close(struct perf_evlist *evlist); 23 LIBPERF_API void perf_evlist__enable(struct perf_evlist *evlist); 24 LIBPERF_API void perf_evlist__disable(struct perf_evlist *evlist); [all …]
|
/tools/lib/perf/include/internal/ |
D | evlist.h | 16 struct perf_evlist { struct 35 (*perf_evlist_mmap__cb_idx_t)(struct perf_evlist*, struct perf_mmap_param*, int, bool); argument 37 (*perf_evlist_mmap__cb_get_t)(struct perf_evlist*, bool, int); 47 int perf_evlist__alloc_pollfd(struct perf_evlist *evlist); 48 int perf_evlist__add_pollfd(struct perf_evlist *evlist, int fd, 51 int perf_evlist__mmap_ops(struct perf_evlist *evlist, 55 void perf_evlist__init(struct perf_evlist *evlist); 56 void perf_evlist__exit(struct perf_evlist *evlist); 108 static inline struct perf_evsel *perf_evlist__first(struct perf_evlist *evlist) in perf_evlist__first() 113 static inline struct perf_evsel *perf_evlist__last(struct perf_evlist *evlist) in perf_evlist__last() [all …]
|
/tools/lib/perf/ |
D | evlist.c | 27 void perf_evlist__init(struct perf_evlist *evlist) in perf_evlist__init() 35 static void __perf_evlist__propagate_maps(struct perf_evlist *evlist, in __perf_evlist__propagate_maps() 58 static void perf_evlist__propagate_maps(struct perf_evlist *evlist) in perf_evlist__propagate_maps() 66 void perf_evlist__add(struct perf_evlist *evlist, in perf_evlist__add() 75 void perf_evlist__remove(struct perf_evlist *evlist, in perf_evlist__remove() 82 struct perf_evlist *perf_evlist__new(void) in perf_evlist__new() 84 struct perf_evlist *evlist = zalloc(sizeof(*evlist)); in perf_evlist__new() 93 perf_evlist__next(struct perf_evlist *evlist, struct perf_evsel *prev) in perf_evlist__next() 112 static void perf_evlist__purge(struct perf_evlist *evlist) in perf_evlist__purge() 124 void perf_evlist__exit(struct perf_evlist *evlist) in perf_evlist__exit() [all …]
|
/tools/lib/perf/Documentation/ |
D | libperf.txt | 80 struct perf_evlist; 82 void perf_evlist__add(struct perf_evlist *evlist, 84 void perf_evlist__remove(struct perf_evlist *evlist, 86 struct perf_evlist *perf_evlist__new(void); 87 void perf_evlist__delete(struct perf_evlist *evlist); 88 struct perf_evsel* perf_evlist__next(struct perf_evlist *evlist, 90 int perf_evlist__open(struct perf_evlist *evlist); 91 void perf_evlist__close(struct perf_evlist *evlist); 92 void perf_evlist__enable(struct perf_evlist *evlist); 93 void perf_evlist__disable(struct perf_evlist *evlist); [all …]
|
/tools/lib/perf/tests/ |
D | test-evlist.c | 33 struct perf_evlist *evlist; in test_stat_cpu() 92 struct perf_evlist *evlist; in test_stat_thread() 147 struct perf_evlist *evlist; in test_stat_thread_enable() 211 struct perf_evlist *evlist; in test_mmap_thread() 322 struct perf_evlist *evlist; in test_mmap_cpus()
|
/tools/perf/util/ |
D | metricgroup.c | 191 static struct evsel *find_evsel_group(struct evlist *perf_evlist, in find_evsel_group() argument 214 evlist__for_each_entry (perf_evlist, ev) { in find_evsel_group() 254 evlist__for_each_entry(perf_evlist, ev) { in find_evsel_group() 284 evlist__for_each_entry_continue(perf_evlist, ev) { in find_evsel_group() 305 struct evlist *perf_evlist, in metricgroup__setup_events() argument 316 evlist_used = bitmap_zalloc(perf_evlist->core.nr_entries); in metricgroup__setup_events() 330 evsel = find_evsel_group(perf_evlist, &m->pctx, in metricgroup__setup_events() 393 evlist__for_each_entry_safe(perf_evlist, tmp, evsel) { in metricgroup__setup_events() 395 evlist__remove(perf_evlist, evsel); in metricgroup__setup_events() 1219 static int parse_groups(struct evlist *perf_evlist, const char *str, in parse_groups() argument [all …]
|
D | evlist.h | 52 struct perf_evlist core;
|
D | evlist.c | 785 perf_evlist__mmap_cb_idx(struct perf_evlist *_evlist, in perf_evlist__mmap_cb_idx() 796 perf_evlist__mmap_cb_get(struct perf_evlist *_evlist, bool overwrite, int idx) in perf_evlist__mmap_cb_get()
|
/tools/lib/perf/Documentation/examples/ |
D | counting.c | 21 struct perf_evlist *evlist; in main()
|
D | sampling.c | 25 struct perf_evlist *evlist; in main()
|
/tools/perf/tests/ |
D | pfm.c | 36 static int count_pfm_events(struct perf_evlist *evlist) in count_pfm_events()
|