Lines Matching defs:evsel
22 void perf_evsel__init(struct perf_evsel *evsel, struct perf_event_attr *attr, in perf_evsel__init()
33 struct perf_evsel *evsel = zalloc(sizeof(*evsel)); in perf_evsel__new() local
41 void perf_evsel__delete(struct perf_evsel *evsel) in perf_evsel__delete()
49 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_fd()
68 static int perf_evsel__alloc_mmap(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_mmap()
83 static int get_group_fd(struct perf_evsel *evsel, int cpu, int thread, int *group_fd) in get_group_fd()
109 int perf_evsel__open(struct perf_evsel *evsel, struct perf_cpu_map *cpus, in perf_evsel__open()
168 static void perf_evsel__close_fd_cpu(struct perf_evsel *evsel, int cpu) in perf_evsel__close_fd_cpu()
182 void perf_evsel__close_fd(struct perf_evsel *evsel) in perf_evsel__close_fd()
190 void perf_evsel__free_fd(struct perf_evsel *evsel) in perf_evsel__free_fd()
196 void perf_evsel__close(struct perf_evsel *evsel) in perf_evsel__close()
205 void perf_evsel__close_cpu(struct perf_evsel *evsel, int cpu) in perf_evsel__close_cpu()
213 void perf_evsel__munmap(struct perf_evsel *evsel) in perf_evsel__munmap()
235 int perf_evsel__mmap(struct perf_evsel *evsel, int pages) in perf_evsel__mmap()
271 void *perf_evsel__mmap_base(struct perf_evsel *evsel, int cpu, int thread) in perf_evsel__mmap_base()
281 int perf_evsel__read_size(struct perf_evsel *evsel) in perf_evsel__read_size()
306 int perf_evsel__read(struct perf_evsel *evsel, int cpu, int thread, in perf_evsel__read()
327 static int perf_evsel__run_ioctl(struct perf_evsel *evsel, in perf_evsel__run_ioctl()
349 int perf_evsel__enable_cpu(struct perf_evsel *evsel, int cpu) in perf_evsel__enable_cpu()
354 int perf_evsel__enable(struct perf_evsel *evsel) in perf_evsel__enable()
364 int perf_evsel__disable_cpu(struct perf_evsel *evsel, int cpu) in perf_evsel__disable_cpu()
369 int perf_evsel__disable(struct perf_evsel *evsel) in perf_evsel__disable()
379 int perf_evsel__apply_filter(struct perf_evsel *evsel, const char *filter) in perf_evsel__apply_filter()
390 struct perf_cpu_map *perf_evsel__cpus(struct perf_evsel *evsel) in perf_evsel__cpus()
395 struct perf_thread_map *perf_evsel__threads(struct perf_evsel *evsel) in perf_evsel__threads()
400 struct perf_event_attr *perf_evsel__attr(struct perf_evsel *evsel) in perf_evsel__attr()
405 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_id()
427 void perf_evsel__free_id(struct perf_evsel *evsel) in perf_evsel__free_id()