Lines Matching refs:simpleperf
7 - [Start simpleperf from system_server process](#start-simpleperf-from-system_server-process)
14 1. After running `adb root`, simpleperf can be used to profile any process or system wide.
15 2. It is recommended to use the latest simpleperf available in AOSP main, if you are not working
16 on the current main branch. Scripts are in `system/extras/simpleperf/scripts`, binaries are in
17 `system/extras/simpleperf/scripts/bin/android`.
35 # Doing recording with app_profiler.py or simpleperf on device, and generates perf.data on host.
47 ## Start simpleperf from system_server process
50 we can add code starting simpleperf at the point where the situation is detected.
52 1. Disable selinux by `adb shell setenforce 0`. Because selinux only allows simpleperf running
63 Runtime.getRuntime().exec("/system/bin/simpleperf record -g -p " + String.valueOf(Process.myPid())
66 Slog.e(TAG, "error while running simpleperf");