Re: [PATCH v3] perf tools: Work around lack of sched_getcpu in glibc < 2.6.

2015-03-24 Thread Jiri Olsa
On Mon, Mar 23, 2015 at 12:09:16PM -0700, Vinson Lee wrote: > From: Vinson Lee > > This patch fixes this build error with glibc < 2.6. > > CC util/cloexec.o > cc1: warnings being treated as errors > util/cloexec.c: In function ‘perf_flag_probe’: > util/cloexec.c:24: error: implicit decla

Re: [PATCH v3] perf tools: Work around lack of sched_getcpu in glibc < 2.6.

2015-03-23 Thread Namhyung Kim
Hi Vinson, On Mon, Mar 23, 2015 at 12:09:16PM -0700, Vinson Lee wrote: > From: Vinson Lee > > This patch fixes this build error with glibc < 2.6. > > CC util/cloexec.o > cc1: warnings being treated as errors > util/cloexec.c: In function ‘perf_flag_probe’: > util/cloexec.c:24: error: im