Lines Matching refs:int
26 typedef int (*libperf_print_fn_t)(enum libperf_print_level level,
47 int perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx);
48 int perf_cpu_map__nr(const struct perf_cpu_map *cpus);
50 int perf_cpu_map__max(struct perf_cpu_map *map);
51 bool perf_cpu_map__has(const struct perf_cpu_map *map, int cpu);
65 struct perf_thread_map *perf_thread_map__new_array(int nr_threads, pid_t *array);
67 void perf_thread_map__set_pid(struct perf_thread_map *map, int idx, pid_t pid);
68 char *perf_thread_map__comm(struct perf_thread_map *map, int idx);
69 int perf_thread_map__nr(struct perf_thread_map *threads);
70 pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx);
92 int perf_evlist__open(struct perf_evlist *evlist);
102 int perf_evlist__poll(struct perf_evlist *evlist, int timeout);
103 int perf_evlist__filter_pollfd(struct perf_evlist *evlist,
106 int perf_evlist__mmap(struct perf_evlist *evlist, int pages);
137 int perf_evsel__open(struct perf_evsel *evsel, struct perf_cpu_map *cpus,
140 void perf_evsel__close_cpu(struct perf_evsel *evsel, int cpu_map_idx);
141 int perf_evsel__mmap(struct perf_evsel *evsel, int pages);
143 void *perf_evsel__mmap_base(struct perf_evsel *evsel, int cpu_map_idx, int thread);
144 int perf_evsel__read(struct perf_evsel *evsel, int cpu_map_idx, int thread,
146 int perf_evsel__enable(struct perf_evsel *evsel);
147 int perf_evsel__enable_cpu(struct perf_evsel *evsel, int cpu_map_idx);
148 int perf_evsel__disable(struct perf_evsel *evsel);
149 int perf_evsel__disable_cpu(struct perf_evsel *evsel, int cpu_map_idx);
164 int perf_mmap__read_init(struct perf_mmap *map);