Home
last modified time | relevance | path

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

/linux/tools/lib/perf/include/perf/
A Devsel.h24 LIBPERF_API struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr);
25 LIBPERF_API void perf_evsel__delete(struct perf_evsel *evsel);
28 LIBPERF_API void perf_evsel__close(struct perf_evsel *evsel);
29 LIBPERF_API void perf_evsel__close_cpu(struct perf_evsel *evsel, int cpu);
30 LIBPERF_API int perf_evsel__mmap(struct perf_evsel *evsel, int pages);
31 LIBPERF_API void perf_evsel__munmap(struct perf_evsel *evsel);
35 LIBPERF_API int perf_evsel__enable(struct perf_evsel *evsel);
36 LIBPERF_API int perf_evsel__enable_cpu(struct perf_evsel *evsel, int cpu);
37 LIBPERF_API int perf_evsel__disable(struct perf_evsel *evsel);
38 LIBPERF_API int perf_evsel__disable_cpu(struct perf_evsel *evsel, int cpu);
[all …]
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,
35 LIBPERF_API int perf_evlist__filter_pollfd(struct perf_evlist *evlist,
[all …]
A Dcpumap.h11 LIBPERF_API struct perf_cpu_map *perf_cpu_map__dummy_new(void);
12 LIBPERF_API struct perf_cpu_map *perf_cpu_map__default_new(void);
13 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list);
14 LIBPERF_API struct perf_cpu_map *perf_cpu_map__read(FILE *file);
15 LIBPERF_API struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map);
16 LIBPERF_API struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig,
18 LIBPERF_API void perf_cpu_map__put(struct perf_cpu_map *map);
19 LIBPERF_API int perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx);
20 LIBPERF_API int perf_cpu_map__nr(const struct perf_cpu_map *cpus);
21 LIBPERF_API bool perf_cpu_map__empty(const struct perf_cpu_map *map);
[all …]
A Dthreadmap.h10 LIBPERF_API struct perf_thread_map *perf_thread_map__new_dummy(void);
12 LIBPERF_API void perf_thread_map__set_pid(struct perf_thread_map *map, int thread, pid_t pid);
13 LIBPERF_API char *perf_thread_map__comm(struct perf_thread_map *map, int thread);
14 LIBPERF_API int perf_thread_map__nr(struct perf_thread_map *threads);
15 LIBPERF_API pid_t perf_thread_map__pid(struct perf_thread_map *map, int thread);
17 LIBPERF_API struct perf_thread_map *perf_thread_map__get(struct perf_thread_map *map);
18 LIBPERF_API void perf_thread_map__put(struct perf_thread_map *map);
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);
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);

Completed in 8 milliseconds