Lines Matching refs:simpleperf
4 …[Here](https://android.googlesource.com/platform/system/extras/+/master/simpleperf/demo/README.md).
36 enables JNI checks and may not optimize C/C++ code. It can be profiled by simpleperf without any
43 with android::debuggable set to true can be profiled. So simpleperf can only profile a release
48 a released app profileable by preinstalled profiling tools. In this case, simpleperf downloaded by
49 adb will invoke simpleperf preinstalled in system image to profile the app.
109 On Android >= P, simpleperf supports profiling Java code, no matter whether it is executed by
112 On Android O, simpleperf supports profiling Java code which is compiled into native instructions,
116 On Android N, simpleperf supports profiling Java code that is compiled into native instructions.
119 On Android <= M, simpleperf doesn't support profiling Java code.
122 …tive](https://android.googlesource.com/platform/system/extras/+/master/simpleperf/demo/SimpleperfE…
127 $ cd extras/simpleperf/demo
142 # Cd to the directory of simpleperf scripts. Record perf.data.
148 $ python app_profiler.py -p com.example.simpleperf.simpleperfexamplewithnative --compile_java_code \
161 Cmdline: /data/data/com.example.simpleperf.simpleperfexamplewithnative/simpleperf record ...
194 $ python app_profiler.py -p com.example.simpleperf.simpleperfexamplewithnative \
198 $ python app_profiler.py -p com.example.simpleperf.simpleperfexamplewithnative \
249 simpleperf report-sample command can convert perf.data into protobuf format accepted by
254 $ simpleperf report-sample --protobuf --show-callchain -i perf.data -o perf.trace
273 $ python app_profiler.py -p com.example.simpleperf.simpleperfexamplewithnative -a .SleepActivity \
285 # Start simpleperf recording, then start the Activity to profile.
286 $ python app_profiler.py -p com.example.simpleperf.simpleperfexamplewithnative -a .MainActivity
290 # 2. Start simpleperf recording.
291 $ python app_profiler.py -p com.example.simpleperf.simpleperfexamplewithnative
299 1. Run `api_profiler.py prepare` to enable simpleperf recording on a device. The script needs to run
302 2. Link simpleperf app_api code in the application. The app needs to be debuggable or
305 process running simpleperf, and uses pipe files to send commands to the child process. After
310 …avaApi in [demo](https://android.googlesource.com/platform/system/extras/+/master/simpleperf/demo).