Searched refs:LIBPERF_API (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/tools/lib/perf/include/perf/ |
A 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); 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); 46 LIBPERF_API struct perf_event_attr *perf_evsel__attr(struct perf_evsel *evsel); [all …]
|
A 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); 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, 35 LIBPERF_API int perf_evlist__filter_pollfd(struct perf_evlist *evlist, [all …]
|
A D | cpumap.h | 16 LIBPERF_API struct perf_cpu_map *perf_cpu_map__dummy_new(void); 17 LIBPERF_API struct perf_cpu_map *perf_cpu_map__default_new(void); 18 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list); 19 LIBPERF_API struct perf_cpu_map *perf_cpu_map__read(FILE *file); 20 LIBPERF_API struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map); 21 LIBPERF_API struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig, 23 LIBPERF_API void perf_cpu_map__put(struct perf_cpu_map *map); 24 LIBPERF_API struct perf_cpu perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx); 25 LIBPERF_API int perf_cpu_map__nr(const struct perf_cpu_map *cpus); 26 LIBPERF_API bool perf_cpu_map__empty(const struct perf_cpu_map *map); [all …]
|
A 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);
|
A 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);
|
A 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);
|
Completed in 9 milliseconds