Files
sunnypilot/selfdrive/debug/profiling/simpleperf/eon_perf.sh
Adeeb Shihadeh 1669e4a5d1 external cleanup (#19647)
* remove external

* put back ffmpeg for now
2021-01-04 14:17:14 -08:00

9 lines
287 B
Bash
Executable File

#!/bin/bash
set -e
cd "$( dirname "${BASH_SOURCE[0]}" )"
ssh "$1" '$HOME/one/external/simpleperf/bin/android/arm64/simpleperf record --call-graph fp -a --duration 10 -o /tmp/perf.data'
scp "$1":/tmp/perf.data /tmp/perf.data
python2 report_html.py -i /tmp/perf.data -o /tmp/report.html