tree: 97d0d0dcc371d916c36eb09396cf549dd2abe1d0 [path history] [tgz]
  1. app_api/
  2. demo/
  3. doc/
  4. include/
  5. nonlinux_support/
  6. runtest/
  7. scripts/
  8. simpleperf_app_runner/
  9. testdata/
  10. .gitignore
  11. Android.bp
  12. Android.mk
  13. AndroidTest.xml
  14. build_id.h
  15. callchain.h
  16. CallChainJoiner.cpp
  17. CallChainJoiner.h
  18. CallChainJoiner_test.cpp
  19. cmd_api.cpp
  20. cmd_api_impl.h
  21. cmd_api_test.cpp
  22. cmd_debug_unwind.cpp
  23. cmd_debug_unwind_test.cpp
  24. cmd_dumprecord.cpp
  25. cmd_dumprecord_test.cpp
  26. cmd_help.cpp
  27. cmd_inject.cpp
  28. cmd_inject_impl.h
  29. cmd_inject_test.cpp
  30. cmd_kmem.cpp
  31. cmd_kmem_test.cpp
  32. cmd_list.cpp
  33. cmd_list_test.cpp
  34. cmd_merge.cpp
  35. cmd_merge_test.cpp
  36. cmd_monitor.cpp
  37. cmd_monitor_test.cpp
  38. cmd_record.cpp
  39. cmd_record_impl.h
  40. cmd_record_test.cpp
  41. cmd_report.cpp
  42. cmd_report_sample.cpp
  43. cmd_report_sample_test.cpp
  44. cmd_report_test.cpp
  45. cmd_stat.cpp
  46. cmd_stat_impl.h
  47. cmd_stat_test.cpp
  48. cmd_trace_sched.cpp
  49. cmd_trace_sched_test.cpp
  50. command.cpp
  51. command.h
  52. command_test.cpp
  53. cpu_hotplug_test.cpp
  54. dso.cpp
  55. dso.h
  56. dso_test.cpp
  57. environment.cpp
  58. environment.h
  59. environment_test.cpp
  60. etm_branch_list.proto
  61. ETMDecoder.cpp
  62. ETMDecoder.h
  63. ETMRecorder.cpp
  64. ETMRecorder.h
  65. event_attr.cpp
  66. event_attr.h
  67. event_fd.cpp
  68. event_fd.h
  69. event_selection_set.cpp
  70. event_selection_set.h
  71. event_type.cpp
  72. event_type.h
  73. event_type_table.h
  74. generate_event_type_table.py
  75. get_test_data.h
  76. gtest_main.cpp
  77. IOEventLoop.cpp
  78. IOEventLoop.h
  79. IOEventLoop_test.cpp
  80. JITDebugReader.cpp
  81. JITDebugReader.h
  82. kallsyms.cpp
  83. kallsyms.h
  84. kallsyms_test.cpp
  85. main.cpp
  86. MapRecordReader.cpp
  87. MapRecordReader.h
  88. MapRecordReader_test.cpp
  89. NOTICE
  90. OfflineUnwinder.cpp
  91. OfflineUnwinder.h
  92. OfflineUnwinder_impl.h
  93. OfflineUnwinder_test.cpp
  94. OWNERS
  95. perf_event.h
  96. perf_regs.cpp
  97. perf_regs.h
  98. perf_regs_test.cpp
  99. ProbeEvents.cpp
  100. ProbeEvents.h
  101. ProbeEvents_test.cpp
  102. profcollect.cpp
  103. read_apk.cpp
  104. read_apk.h
  105. read_apk_test.cpp
  106. read_dex_file.cpp
  107. read_dex_file.h
  108. read_dex_file_test.cpp
  109. read_elf.cpp
  110. read_elf.h
  111. read_elf_test.cpp
  112. read_symbol_map.cpp
  113. read_symbol_map.h
  114. read_symbol_map_test.cpp
  115. README.md
  116. record.cpp
  117. record.h
  118. record_equal_test.h
  119. record_file.h
  120. record_file_format.h
  121. record_file_reader.cpp
  122. record_file_test.cpp
  123. record_file_writer.cpp
  124. record_lib_interface.cpp
  125. record_lib_test.cpp
  126. record_test.cpp
  127. RecordReadThread.cpp
  128. RecordReadThread.h
  129. RecordReadThread_test.cpp
  130. report_lib_interface.cpp
  131. report_sample.proto
  132. report_utils.cpp
  133. report_utils.h
  134. report_utils_test.cpp
  135. sample_tree.h
  136. sample_tree_test.cpp
  137. SampleComparator.h
  138. SampleDisplayer.h
  139. TEST_MAPPING
  140. test_util.cpp
  141. test_util.h
  142. thread_tree.cpp
  143. thread_tree.h
  144. thread_tree_test.cpp
  145. tracing.cpp
  146. tracing.h
  147. tracing_test.cpp
  148. utils.cpp
  149. utils.h
  150. utils_test.cpp
  151. workload.cpp
  152. workload.h
  153. workload_test.cpp
simpleperf/README.md

Simpleperf

This file is documentation for simpleperf maintainers. There is also user documentation.

Building new prebuilts

To snap the aosp-simpleperf-release branch to ToT AOSP main and kick off a build, use this coastguard page and choose “aosp-simpleperf-release” from the “Branch” dropdown. Then click “Submit build requests”. You'll get emails keeping you up to date with the progress of the snap and the build.

Updating the prebuilts

Once you have the build id (a 7-digit number) and the build is complete, run the update script from within the system/extras/simpleperf directory:

./scripts/update.py --bid 1234567 -vv

This will create a new change that you can repo upload, then approve and submit as normal.