Searched refs:LIBPERF_API (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/tools/lib/perf/include/perf/ |
D | evsel.h | 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); 30 LIBPERF_API int perf_evsel__open(struct perf_evsel *evsel, struct perf_cpu_map *cpus, 32 LIBPERF_API void perf_evsel__close(struct perf_evsel *evsel); 33 LIBPERF_API void perf_evsel__close_cpu(struct perf_evsel *evsel, int cpu_map_idx); 34 LIBPERF_API int perf_evsel__mmap(struct perf_evsel *evsel, int pages); 35 LIBPERF_API void perf_evsel__munmap(struct perf_evsel *evsel); 36 LIBPERF_API void *perf_evsel__mmap_base(struct perf_evsel *evsel, int cpu_map_idx, int thread); 37 LIBPERF_API int perf_evsel__read(struct perf_evsel *evsel, int cpu_map_idx, int thread, 39 LIBPERF_API int perf_evsel__enable(struct perf_evsel *evsel); [all …]
|
D | evlist.h | 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); 31 LIBPERF_API void perf_evlist__set_maps(struct perf_evlist *evlist, [all …]
|
D | cpumap.h | 15 LIBPERF_API struct perf_cpu_map *perf_cpu_map__dummy_new(void); 16 LIBPERF_API struct perf_cpu_map *perf_cpu_map__default_new(void); 17 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list); 18 LIBPERF_API struct perf_cpu_map *perf_cpu_map__read(FILE *file); 19 LIBPERF_API struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map); 20 LIBPERF_API struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig, 22 LIBPERF_API void perf_cpu_map__put(struct perf_cpu_map *map); 23 LIBPERF_API struct perf_cpu perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx); 24 LIBPERF_API int perf_cpu_map__nr(const struct perf_cpu_map *cpus); 25 LIBPERF_API bool perf_cpu_map__empty(const struct perf_cpu_map *map); [all …]
|
D | threadmap.h | 10 LIBPERF_API struct perf_thread_map *perf_thread_map__new_dummy(void); 11 LIBPERF_API struct perf_thread_map *perf_thread_map__new_array(int nr_threads, pid_t *array); 13 LIBPERF_API void perf_thread_map__set_pid(struct perf_thread_map *map, int idx, pid_t pid); 14 LIBPERF_API char *perf_thread_map__comm(struct perf_thread_map *map, int idx); 15 LIBPERF_API int perf_thread_map__nr(struct perf_thread_map *threads); 16 LIBPERF_API pid_t perf_thread_map__pid(struct perf_thread_map *map, int idx); 18 LIBPERF_API struct perf_thread_map *perf_thread_map__get(struct perf_thread_map *map); 19 LIBPERF_API void perf_thread_map__put(struct perf_thread_map *map);
|
D | mmap.h | 10 LIBPERF_API void perf_mmap__consume(struct perf_mmap *map); 11 LIBPERF_API int perf_mmap__read_init(struct perf_mmap *map); 12 LIBPERF_API void perf_mmap__read_done(struct perf_mmap *map); 13 LIBPERF_API union perf_event *perf_mmap__read_event(struct perf_mmap *map);
|
D | core.h | 7 #ifndef LIBPERF_API 8 #define LIBPERF_API __attribute__((visibility("default"))) macro 23 LIBPERF_API void libperf_init(libperf_print_fn_t fn);
|