Searched refs:perf_evsel (Results 1 – 16 of 16) sorted by relevance
/linux-6.3-rc2/tools/lib/perf/include/perf/ |
A D | evsel.h | 10 struct perf_evsel; 28 LIBPERF_API struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr); 29 LIBPERF_API void perf_evsel__delete(struct perf_evsel *evsel); 32 LIBPERF_API void perf_evsel__close(struct perf_evsel *evsel); 34 LIBPERF_API int perf_evsel__mmap(struct perf_evsel *evsel, int pages); 35 LIBPERF_API void perf_evsel__munmap(struct perf_evsel *evsel); 39 LIBPERF_API int perf_evsel__enable(struct perf_evsel *evsel); 41 LIBPERF_API int perf_evsel__enable_thread(struct perf_evsel *evsel, int thread); 42 LIBPERF_API int perf_evsel__disable(struct perf_evsel *evsel); 44 LIBPERF_API struct perf_cpu_map *perf_evsel__cpus(struct perf_evsel *evsel); [all …]
|
A D | evlist.h | 9 struct perf_evsel; 14 struct perf_evsel *evsel); 16 struct perf_evsel *evsel); 19 LIBPERF_API struct perf_evsel* perf_evlist__next(struct perf_evlist *evlist, 20 struct perf_evsel *evsel);
|
/linux-6.3-rc2/tools/lib/perf/include/internal/ |
A D | evsel.h | 21 struct perf_evsel *evsel; 41 struct perf_evsel { struct 52 struct perf_evsel *leader; argument 71 void perf_evsel__init(struct perf_evsel *evsel, struct perf_event_attr *attr, argument 73 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads); 74 void perf_evsel__close_fd(struct perf_evsel *evsel); 75 void perf_evsel__free_fd(struct perf_evsel *evsel); 76 int perf_evsel__read_size(struct perf_evsel *evsel); 77 int perf_evsel__apply_filter(struct perf_evsel *evsel, const char *filter); 79 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads); [all …]
|
A D | evlist.h | 42 (*perf_evlist_mmap__cb_idx_t)(struct perf_evlist*, struct perf_evsel*, 116 static inline struct perf_evsel *perf_evlist__first(struct perf_evlist *evlist) in perf_evlist__first() 118 return list_entry(evlist->entries.next, struct perf_evsel, node); in perf_evlist__first() 121 static inline struct perf_evsel *perf_evlist__last(struct perf_evlist *evlist) in perf_evlist__last() 123 return list_entry(evlist->entries.prev, struct perf_evsel, node); in perf_evlist__last() 129 struct perf_evsel *evsel, 133 struct perf_evsel *evsel, 138 void __perf_evlist__set_leader(struct list_head *list, struct perf_evsel *leader);
|
/linux-6.3-rc2/tools/lib/perf/ |
A D | evsel.c | 33 struct perf_evsel *evsel = zalloc(sizeof(*evsel)); in perf_evsel__new() 41 void perf_evsel__delete(struct perf_evsel *evsel) in perf_evsel__delete() 89 struct perf_evsel *leader = evsel->leader; in get_group_fd() 194 void perf_evsel__close_fd(struct perf_evsel *evsel) in perf_evsel__close_fd() 200 void perf_evsel__free_fd(struct perf_evsel *evsel) in perf_evsel__free_fd() 206 void perf_evsel__close(struct perf_evsel *evsel) in perf_evsel__close() 223 void perf_evsel__munmap(struct perf_evsel *evsel) in perf_evsel__munmap() 292 int perf_evsel__read_size(struct perf_evsel *evsel) in perf_evsel__read_size() 462 int perf_evsel__enable(struct perf_evsel *evsel) in perf_evsel__enable() 477 int perf_evsel__disable(struct perf_evsel *evsel) in perf_evsel__disable() [all …]
|
A D | evlist.c | 68 struct perf_evsel *evsel; in perf_evlist__propagate_maps() 104 struct perf_evsel * 107 struct perf_evsel *next; in perf_evlist__next() 111 struct perf_evsel, in perf_evlist__next() 126 struct perf_evsel *pos, *n; in perf_evlist__purge() 185 struct perf_evsel *evsel; in perf_evlist__open() 203 struct perf_evsel *evsel; in perf_evlist__close() 211 struct perf_evsel *evsel; in perf_evlist__enable() 219 struct perf_evsel *evsel; in perf_evlist__disable() 309 struct perf_evsel *evsel; in perf_evlist__alloc_pollfd() [all …]
|
/linux-6.3-rc2/tools/lib/perf/Documentation/ |
A D | libperf.txt | 85 struct perf_evsel *evsel); 87 struct perf_evsel *evsel); 90 struct perf_evsel* perf_evlist__next(struct perf_evlist *evlist, 91 struct perf_evsel *evsel); 122 struct perf_evsel; 136 void perf_evsel__delete(struct perf_evsel *evsel); 139 void perf_evsel__close(struct perf_evsel *evsel); 141 int perf_evsel__mmap(struct perf_evsel *evsel, int pages); 142 void perf_evsel__munmap(struct perf_evsel *evsel); 146 int perf_evsel__enable(struct perf_evsel *evsel); [all …]
|
/linux-6.3-rc2/tools/lib/perf/tests/ |
A D | test-evsel.c | 23 struct perf_evsel *evsel; in test_stat_cpu() 57 struct perf_evsel *evsel; in test_stat_thread() 89 struct perf_evsel *evsel; in test_stat_thread_enable() 131 struct perf_evsel *evsel; in test_stat_user_read() 197 struct perf_evsel *evsel; in test_stat_read_format_single() 232 struct perf_evsel *leader, *member; in test_stat_read_format_group()
|
A D | test-evlist.c | 38 struct perf_evsel *evsel, *leader; in test_stat_cpu() 97 struct perf_evsel *evsel, *leader; in test_stat_thread() 152 struct perf_evsel *evsel, *leader; in test_stat_thread_enable() 216 struct perf_evsel *evsel; in test_mmap_thread() 327 struct perf_evsel *evsel; in test_mmap_cpus() 445 struct perf_evsel *evsel; in test_stat_multiplexing()
|
/linux-6.3-rc2/tools/lib/perf/Documentation/examples/ |
A D | counting.c | 22 struct perf_evsel *evsel; in main()
|
A D | sampling.c | 26 struct perf_evsel *evsel; in main()
|
/linux-6.3-rc2/tools/perf/tests/ |
A D | pfm.c | 17 struct perf_evsel *evsel; in count_pfm_events()
|
A D | mmap-basic.c | 176 struct perf_evsel *evsel; in test_stat_user_read()
|
/linux-6.3-rc2/tools/perf/util/ |
A D | evlist.h | 246 struct perf_evsel *evsel = perf_evlist__first(&evlist->core); in evlist__first() 253 struct perf_evsel *evsel = perf_evlist__last(&evlist->core); in evlist__last()
|
A D | evsel.h | 59 struct perf_evsel core;
|
A D | evlist.c | 827 struct perf_evsel *_evsel, in perf_evlist__mmap_cb_idx()
|
Completed in 37 milliseconds