Home
last modified time | relevance | path

Searched refs:LIBPERF_API (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/tools/lib/perf/include/perf/
H A Devsel.h28 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 …]
H A Devlist.h13 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,
39 LIBPERF_API void perf_evlist__munmap(struct perf_evlist *evlist);
[all …]
H A Dcpumap.h24 LIBPERF_API struct perf_cpu_map *perf_cpu_map__dummy_new(void);
25 LIBPERF_API struct perf_cpu_map *perf_cpu_map__default_new(void);
26 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list);
27 LIBPERF_API struct perf_cpu_map *perf_cpu_map__read(FILE *file);
28 LIBPERF_API struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map);
29 LIBPERF_API struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig,
33 LIBPERF_API void perf_cpu_map__put(struct perf_cpu_map *map);
35 LIBPERF_API int perf_cpu_map__nr(const struct perf_cpu_map *cpus);
39 LIBPERF_API bool perf_cpu_map__empty(const struct perf_cpu_map *map);
42 LIBPERF_API bool perf_cpu_map__equal(const struct perf_cpu_map *lhs,
[all …]
H A Dthreadmap.h10 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);
H A Dmmap.h10 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);
H A Dcore.h7 #ifndef LIBPERF_API
8 #define LIBPERF_API __attribute__((visibility("default"))) macro
23 LIBPERF_API void libperf_init(libperf_print_fn_t fn);