Home
last modified time | relevance | path

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

/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);
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 …]
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);
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 …]
H A Dcpumap.h24 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new_any_cpu(void);
33 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new_online_cpus(void);
39 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list);
40 LIBPERF_API struct perf_cpu_map *perf_cpu_map__read(FILE *file);
41 LIBPERF_API struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map);
42 LIBPERF_API struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig,
44 LIBPERF_API struct perf_cpu_map *perf_cpu_map__intersect(struct perf_cpu_map *orig,
46 LIBPERF_API void perf_cpu_map__put(struct perf_cpu_map *map);
51 LIBPERF_API struct perf_cpu perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx);
59 LIBPERF_API in
[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);