Hi. 4.2-rc1 commit 106a94a0f8c207ef4113ce7e32f34a00b3b174e7 "perf stat: Introduce read_counters function" introduced a build error with older toolchains.
This is the build error on CentOS 6. CC builtin-stat.o cc1: warnings being treated as errors builtin-stat.c: In function ‘read_counters’: builtin-stat.c:346: error: declaration of ‘close’ shadows a global declaration /usr/include/unistd.h:350: error: shadowed declaration is here Cheers, Vinson -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
