mlbo / valgrind-android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

valgrind-android

License release download

✔️ This project provides the valgrind binary package for Android arm64-v8a.

✔️ All the binaries are compiled from source on github action, no virus, no backdoor, no secret code.

Download

Android

arm64-v8a build with ndk r21d and android api 21

Usage

  • Extract archive and push files to android device
unzip -q valgrind-3.16.1-android.zip
adb push valgrind /data/local/tmp/
adb shell
  • Run valgrind normally inside ADB shell
cd /data/local/tmp/
valgrind/bin/valgrind --tool=callgrind ./benchncnn 4 1 0 -1 0
  • Pull valgrind output files and visualize it
adb pull /data/local/tmp/callgrind.out.9519
kcachegrind callgrind.out.9519

callgrind

About

License:GNU General Public License v2.0