Searched refs:simpleperf (Results 1 – 25 of 71) sorted by relevance
123
/system/sepolicy/prebuilts/api/27.0/public/ |
D | perfprofd.te | 16 # perfprofd checks for the existence of and then invokes simpleperf; 17 # simpleperf retains perfprofd domain after exec 36 # simpleperf uses ioctl() to turn on kernel perf events measurements 39 # simpleperf needs to examine /proc to collect task/thread info 42 # simpleperf needs to access /proc/<pid>/exec 46 # simpleperf needs open/read any file that turns up in a profile 50 # simpleperf examines debugfs on startup to collect tracepoint event types 53 # simpleperf is going to execute "sleep" 56 # needed for simpleperf on some kernels
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | perfprofd.te | 16 # perfprofd checks for the existence of and then invokes simpleperf; 17 # simpleperf retains perfprofd domain after exec 36 # simpleperf uses ioctl() to turn on kernel perf events measurements 39 # simpleperf needs to examine /proc to collect task/thread info 42 # simpleperf needs to access /proc/<pid>/exec 46 # simpleperf needs open/read any file that turns up in a profile 50 # simpleperf examines debugfs on startup to collect tracepoint event types 53 # simpleperf is going to execute "sleep" 56 # needed for simpleperf on some kernels
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | perfprofd.te | 19 # perfprofd checks for the existence of and then invokes simpleperf; 20 # simpleperf retains perfprofd domain after exec 45 # simpleperf reads kernel notes. 53 # simpleperf writes to perf_event_paranoid under /proc. 59 # simpleperf uses ioctl() to turn on kernel perf events measurements 62 # simpleperf needs to examine /proc to collect task/thread info 65 # simpleperf needs to access /proc/<pid>/exec 69 # simpleperf needs open/read any file that turns up in a profile 82 # simpleperf will set security.perf_harden to enable access to perf_event_open() 85 # simpleperf examines debugfs on startup to collect tracepoint event types [all …]
|
/system/sepolicy/public/ |
D | perfprofd.te | 19 # perfprofd checks for the existence of and then invokes simpleperf; 20 # simpleperf retains perfprofd domain after exec 45 # simpleperf reads kernel notes. 53 # simpleperf writes to perf_event_paranoid under /proc. 59 # simpleperf uses ioctl() to turn on kernel perf events measurements 62 # simpleperf needs to examine /proc to collect task/thread info 65 # simpleperf needs to access /proc/<pid>/exec 69 # simpleperf needs open/read any file that turns up in a profile 82 # simpleperf will set security.perf_harden to enable access to perf_event_open() 85 # simpleperf examines debugfs on startup to collect tracepoint event types [all …]
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | perfprofd.te | 19 # perfprofd checks for the existence of and then invokes simpleperf; 20 # simpleperf retains perfprofd domain after exec 45 # simpleperf reads kernel notes. 53 # simpleperf writes to perf_event_paranoid under /proc. 59 # simpleperf uses ioctl() to turn on kernel perf events measurements 62 # simpleperf needs to examine /proc to collect task/thread info 65 # simpleperf needs to access /proc/<pid>/exec 69 # simpleperf needs open/read any file that turns up in a profile 80 # simpleperf will set security.perf_harden to enable access to perf_event_open() 83 # simpleperf examines debugfs on startup to collect tracepoint event types [all …]
|
/system/extras/simpleperf/ |
D | Android.bp | 326 // simpleperf shipped in system image 328 name: "simpleperf", 346 // simpleperf released in ndk 353 targets: ["sdk", "win_sdk", "simpleperf"], 375 dir: "simpleperf/android/arm", 380 dir: "simpleperf/android/arm64", 385 dir: "simpleperf/android/x86", 390 dir: "simpleperf/android/x86_64", 395 dir: "simpleperf/darwin/x86", 400 dir: "simpleperf/darwin/x86_64", [all …]
|
D | thread_tree.h | 36 namespace simpleperf { 157 using MapEntry = simpleperf::MapEntry; 158 using ThreadEntry = simpleperf::ThreadEntry; 159 using ThreadTree = simpleperf::ThreadTree;
|
D | Android.mk | 45 $(hide) $(SOONG_ZIP) -d -o $@ -C system/extras/simpleperf $(SIMPLEPERF_SCRIPT_LIST) 47 $(call dist-for-goals,sdk win_sdk,$(SIMPLEPERF_SCRIPT_PATH):simpleperf/simpleperf_script.zip)
|
/system/extras/simpleperf/doc/ |
D | README.md | 8 …ource code is [here](https://android.googlesource.com/platform/system/extras/+/master/simpleperf/). 9 … [here](https://android.googlesource.com/platform/system/extras/+/master/simpleperf/doc/README.md). 14 - [Tools in simpleperf](#tools-in-simpleperf) 26 - [How simpleperf works](#how-simpleperf-works) 69 Simpleperf contains two parts: the simpleperf executable and Python scripts. 71 The simpleperf executable works similar to linux-tools-perf, but has some specific features for 75 report on the host", simpleperf not only collects samples in profiling data, but also collects 79 a. When recording dwarf based call graph, simpleperf unwinds the stack before writing a sample 95 simpleperf executables can be pushed on any Android device and used to record profiling data. 101 Detailed documentation for the simpleperf executable is [here](#executable-commands-reference). [all …]
|
D | inferno.md | 42 Inferno relies on simpleperf to record the callstack of a native application 45 `simpleperf` also symbolize all IPs automatically. The record are aggregated and 52 Open a terminal and from `simpleperf/scripts` directory type: 78 `simpleperf` to unwind the stack via the kernel and frame pointers. Try to 85 ` -fomit-frame-pointer` in your build config. Alternatively, ask simpleperf to 92 If simpleperf reports a lot of lost sample it is probably because you are 102 If you cannot run as root, make sure the app is debuggable otherwise simpleperf
|
/system/extras/simpleperf/demo/ |
D | README.md | 1 # Examples of using simpleperf to profile Android applications 13 … [here](https://android.googlesource.com/platform/system/extras/+/master/simpleperf/doc/README.md). 14 …here](https://android.googlesource.com/platform/system/extras/+/master/simpleperf/doc/README.md#An… 15 This directory is to show examples of using simpleperf to profile Android applications. The 18 ../scripts/ -- contain simpleperf binaries and scripts. 27 $ cd extras/simpleperf/demo 61 $ python app_profiler.py -p com.example.simpleperf.simpleperfexamplepurejava 93 $ python app_profiler.py -p com.example.simpleperf.simpleperfexamplewithnative 125 $ python app_profiler.py -p com.example.simpleperf.simpleperfexampleofkotlin
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | runas_app.te | 9 # when using run-as on a debuggable app. Used to run lldb/ndk-gdb/simpleperf, 13 # Allow lldb/ndk-gdb/simpleperf to read maps of debuggable app processes. 16 # Allow lldb/ndk-gdb/simpleperf to ptrace attach to debuggable app processes.
|
/system/sepolicy/private/ |
D | runas_app.te | 9 # when using run-as on a debuggable app. Used to run lldb/ndk-gdb/simpleperf, 13 # Allow lldb/ndk-gdb/simpleperf to read maps of debuggable app processes. 16 # Allow lldb/ndk-gdb/simpleperf to ptrace attach to debuggable app processes.
|
/system/extras/simpleperf/demo/JavaApi/app/src/main/java/simpleperf/demo/java_api/ |
D | MainActivity.java | 17 package simpleperf.demo.java_api; 24 import com.android.simpleperf.ProfileSession; 25 import com.android.simpleperf.RecordOptions;
|
/system/extras/perfprofd/tests/ |
D | Android.bp | 48 // The live tests require simpleperf. 51 "simpleperf",
|
D | README.txt | 9 1. Several of the testpoints in this unit tests perform a live 'simpleperf' 10 run on the device (if you are using a userdebug build, simpleperf should 11 already be available in /system/xbin/simpleperf).
|
/system/extras/simpleperf/demo/CppApi/app/src/main/cpp/ |
D | native-lib.cpp | 34 simpleperf::RecordOptions options; in ProfileThreadFunc() 36 simpleperf::ProfileSession session; in ProfileThreadFunc()
|
D | CMakeLists.txt | 8 ../../../../../../app_api/cpp/simpleperf.cpp)
|
/system/extras/simpleperf/demo/JavaApi/app/ |
D | build.gradle | 6 applicationId "simpleperf.demo.java_api" 8 …// https://android.googlesource.com/platform/system/extras/+/master/simpleperf/doc/README.md#prepa…
|
/system/extras/simpleperf/demo/CppApi/app/ |
D | build.gradle | 6 applicationId "simpleperf.demo.cpp_api" 8 …// (https://android.googlesource.com/platform/system/extras/+/master/simpleperf/doc/README.md#why-…
|
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/app/src/test/java/com/example/simpleperf/simpleperfexampleofkotlin/ |
D | ExampleUnitTest.kt | 1 package com.example.simpleperf.simpleperfexampleofkotlin
|
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/src/test/java/com/example/simpleperf/simpleperfexamplepurejava/ |
D | ExampleUnitTest.java | 1 package com.example.simpleperf.simpleperfexamplepurejava;
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/test/java/com/example/simpleperf/simpleperfexamplewithnative/ |
D | ExampleUnitTest.java | 1 package com.example.simpleperf.simpleperfexamplewithnative;
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/java/com/example/simpleperf/simpleperfexamplewithnative/ |
D | SleepActivity.java | 1 package com.example.simpleperf.simpleperfexamplewithnative;
|
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/app/src/androidTest/java/com/example/simpleperf/simpleperfexampleofkotlin/ |
D | ExampleInstrumentedTest.kt | 1 package com.example.simpleperf.simpleperfexampleofkotlin
|
123