Yann Droneaud | 57480d2 | 2014-06-30 22:28:47 +0200 | [diff] [blame] | 1 | #ifndef __PERF_CLOEXEC_H |
| 2 | #define __PERF_CLOEXEC_H |
| 3 | |
| 4 | unsigned long perf_event_open_cloexec_flag(void); |
| 5 | |
Vinson Lee | e1e455f | 2015-03-23 12:09:16 -0700 | [diff] [blame] | 6 | #ifdef __GLIBC_PREREQ |
Petri Gynther | f151f53 | 2015-08-04 17:38:01 -0700 | [diff] [blame] | 7 | #if !__GLIBC_PREREQ(2, 6) && !defined(__UCLIBC__) |
Vinson Lee | e1e455f | 2015-03-23 12:09:16 -0700 | [diff] [blame] | 8 | extern int sched_getcpu(void) __THROW; |
| 9 | #endif |
| 10 | #endif |
| 11 | |
Yann Droneaud | 57480d2 | 2014-06-30 22:28:47 +0200 | [diff] [blame] | 12 | #endif /* __PERF_CLOEXEC_H */ |