title: How to execute perf (linux tools) on android device?
body: <p>I followed the following steps and succesfully compiled using the make command in 3rd step. But am unable locate perf as mentioned in step 4.</p>
  
  <p>Steps:-
  1) <code>export NDK_TOOLCHAIN=${NDK}/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-</code></p>
  
  <p>2) <code>export NDK_SYSROOT=${NDK}/platforms/android-9/arch-arm</code></p>
  
  <p>3) <code>make ARCH=arm CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}"</code></p>
  
  <p>4) <code>adb push perf /data/perf</code></p>
  
  <blockquote>
    <p>Error:
    cannot stat 'perf': No such file or directory</p>
  </blockquote>
  
  <p>How to locate perf after cross compiling it.</p>