Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | #ifndef __PERF_CLOEXEC_H |
2 | #define __PERF_CLOEXEC_H | ||||
3 | |||||
4 | unsigned long perf_event_open_cloexec_flag(void); | ||||
5 | |||||
6 | #ifdef __GLIBC_PREREQ | ||||
7 | #if !__GLIBC_PREREQ(2, 6) && !defined(__UCLIBC__) | ||||
8 | extern int sched_getcpu(void) __THROW; | ||||
9 | #endif | ||||
10 | #endif | ||||
11 | |||||
12 | #endif /* __PERF_CLOEXEC_H */ |