1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LIBPERF_CORE_H
3 #define __LIBPERF_CORE_H
8 #define LIBPERF_API __attribute__((visibility("default")))
11 enum libperf_print_level {
20 typedef int (*libperf_print_fn_t)(enum libperf_print_level level,
21 const char *, va_list ap);
23 LIBPERF_API void libperf_init(libperf_print_fn_t fn);
25 #endif /* __LIBPERF_CORE_H */