summaryrefslogtreecommitdiffstats
path: root/kernel/tools/perf/util/cloexec.h
blob: 68888c29b04a3fe2e8a44bd5debd233f191576ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __PERF_CLOEXEC_H
#define __PERF_CLOEXEC_H

unsigned long perf_event_open_cloexec_flag(void);

#ifdef __GLIBC_PREREQ
#if !__GLIBC_PREREQ(2, 6)
extern int sched_getcpu(void) __THROW;
#endif
#endif

#endif /* __PERF_CLOEXEC_H */