To run perfd on an Android device...

  1. Build perfd using steps in .../tools/base/profiler/native/README.md
  2. If successful, binary lives in .../out/studio/native/out/(arch)/
  3. cd to .../tools/base/profiler
  4. ./deploy_perfd.sh (arch)

Once running, press Ctrl-C anytime to kill perfd