Re: linux/tools/perf cannot be compiled for Android - linux-4.15

2018-06-07 Thread Hank Qiu
Thank you for your reply. I follow your instructions and use android-ndk-r15c and it works now. But it's weird that I find it cannot work with android-ndk-r1, and it still throw me error "No gnu/libc-version.h found, please install glibc-dev[el]". I compare android-ndk-r17 and android-ndk-r15c an

Re: linux/tools/perf cannot be compiled for Android - linux-4.15

2018-06-06 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 06, 2018 at 05:39:33AM +, Hank Qiu escreveu: > Hi > I am trying to use tools/perf to tuning my Android devices. > But I cannot build it for Android successfully following the > instructions in tools/perf/Documentation/android.txt. > I download the latest NDK, which is android-ndk