mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-03-02 11:23:57 +08:00
BIN
selfdrive/debug/profiling/simpleperf/bin/android/arm64/simpleperf
Executable file
BIN
selfdrive/debug/profiling/simpleperf/bin/android/arm64/simpleperf
Executable file
Binary file not shown.
8
selfdrive/debug/profiling/simpleperf/eon_perf.sh
Executable file
8
selfdrive/debug/profiling/simpleperf/eon_perf.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/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
|
||||
3
selfdrive/debug/profiling/simpleperf/get.txt
Normal file
3
selfdrive/debug/profiling/simpleperf/get.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
git clone https://android.googlesource.com/platform/prebuilts/simpleperf
|
||||
git reset --hard 311a9d2cd27841498fc90a0b26a755deb47e7ebd
|
||||
cp -r report_html.* simpleperf_report_lib.py utils.py inferno lib ~/one/external/simpleperf/
|
||||
Reference in New Issue
Block a user