GNU Linux-libre 4.9.328-gnu1
[releases.git] / tools / perf / util / cloexec.h
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 int sched_getcpu(void) __THROW;
9 #endif
10 #endif
11
12 #endif /* __PERF_CLOEXEC_H */