https://github.com/nihui/valgrind-android
https://github.com/nihui/valgrind-android
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/nihui/valgrind-android
- Owner: nihui
- License: gpl-2.0
- Created: 2021-02-20T15:21:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-05T11:25:14.000Z (over 4 years ago)
- Last Synced: 2025-03-29T23:26:16.202Z (over 1 year ago)
- Size: 211 KB
- Stars: 60
- Watchers: 2
- Forks: 15
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# valgrind-android



✔️ 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
* [valgrind-3.17.0-android.zip](https://github.com/nihui/valgrind-android/releases/download/v2/valgrind-3.17.0-android.zip)
# Usage
* Extract archive and push files to android device
```
unzip -q valgrind-3.17.0-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
```
