Lines Matching refs:perf_evsel

22 void perf_evsel__init(struct perf_evsel *evsel, struct perf_event_attr *attr,  in perf_evsel__init()
31 struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr) in perf_evsel__new()
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()
52 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_fd()
72 static int perf_evsel__alloc_mmap(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_mmap()
87 static int get_group_fd(struct perf_evsel *evsel, int cpu_map_idx, int thread, int *group_fd) in get_group_fd()
89 struct perf_evsel *leader = evsel->leader; in get_group_fd()
113 int perf_evsel__open(struct perf_evsel *evsel, struct perf_cpu_map *cpus, in perf_evsel__open()
180 static void perf_evsel__close_fd_cpu(struct perf_evsel *evsel, int cpu_map_idx) in perf_evsel__close_fd_cpu()
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()
215 void perf_evsel__close_cpu(struct perf_evsel *evsel, int cpu_map_idx) in perf_evsel__close_cpu()
223 void perf_evsel__munmap(struct perf_evsel *evsel) in perf_evsel__munmap()
245 int perf_evsel__mmap(struct perf_evsel *evsel, int pages) in perf_evsel__mmap()
282 void *perf_evsel__mmap_base(struct perf_evsel *evsel, int cpu_map_idx, int thread) in perf_evsel__mmap_base()
292 int perf_evsel__read_size(struct perf_evsel *evsel) in perf_evsel__read_size()
321 static int perf_evsel__read_group(struct perf_evsel *evsel, int cpu_map_idx, in perf_evsel__read_group()
366 static void perf_evsel__adjust_values(struct perf_evsel *evsel, u64 *buf, in perf_evsel__adjust_values()
387 int perf_evsel__read(struct perf_evsel *evsel, int cpu_map_idx, int thread, in perf_evsel__read()
415 static int perf_evsel__ioctl(struct perf_evsel *evsel, int ioc, void *arg, in perf_evsel__ioctl()
426 static int perf_evsel__run_ioctl(struct perf_evsel *evsel, in perf_evsel__run_ioctl()
442 int perf_evsel__enable_cpu(struct perf_evsel *evsel, int cpu_map_idx) in perf_evsel__enable_cpu()
447 int perf_evsel__enable_thread(struct perf_evsel *evsel, int thread) in perf_evsel__enable_thread()
462 int perf_evsel__enable(struct perf_evsel *evsel) in perf_evsel__enable()
472 int perf_evsel__disable_cpu(struct perf_evsel *evsel, int cpu_map_idx) in perf_evsel__disable_cpu()
477 int perf_evsel__disable(struct perf_evsel *evsel) in perf_evsel__disable()
487 int perf_evsel__apply_filter(struct perf_evsel *evsel, const char *filter) in perf_evsel__apply_filter()
498 struct perf_cpu_map *perf_evsel__cpus(struct perf_evsel *evsel) in perf_evsel__cpus()
503 struct perf_thread_map *perf_evsel__threads(struct perf_evsel *evsel) in perf_evsel__threads()
508 struct perf_event_attr *perf_evsel__attr(struct perf_evsel *evsel) in perf_evsel__attr()
513 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_id()
532 void perf_evsel__free_id(struct perf_evsel *evsel) in perf_evsel__free_id()