aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-06-26 04:37:15 -0400
committerIngo Molnar <mingo@kernel.org>2015-06-26 04:37:15 -0400
commitdf0d0da426d03fb7e6567feb38a48b1e0dd1891e (patch)
treec50f1338c57a828204e8468242121cc503c95268
parent27451700dfa01a05cdb4d9d74501536165158034 (diff)
parent2b42b09b88c831ba4da2d669581dde371c38c2af (diff)
Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull perf/urgent fix from Arnaldo Carvalho de Melo: - Fix to show proper convergence stats in 'perf bench numa' (Srikar Dronamraju) Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--tools/perf/util/cloexec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/cloexec.c b/tools/perf/util/cloexec.c
index 85b523885f9d..2babddaa2481 100644
--- a/tools/perf/util/cloexec.c
+++ b/tools/perf/util/cloexec.c
@@ -7,11 +7,15 @@
7 7
8static unsigned long flag = PERF_FLAG_FD_CLOEXEC; 8static unsigned long flag = PERF_FLAG_FD_CLOEXEC;
9 9
10#ifdef __GLIBC_PREREQ
11#if !__GLIBC_PREREQ(2, 6)
10int __weak sched_getcpu(void) 12int __weak sched_getcpu(void)
11{ 13{
12 errno = ENOSYS; 14 errno = ENOSYS;
13 return -1; 15 return -1;
14} 16}
17#endif
18#endif
15 19
16static int perf_flag_probe(void) 20static int perf_flag_probe(void)
17{ 21{