tree: 950f66ed9ec41b30bd8dbf652f2f97b267ee300d [path history] [tgz]
  1. app_api/
  2. demo/
  3. doc/
  4. include/
  5. nonlinux_support/
  6. runtest/
  7. rust/
  8. scripts/
  9. simpleperf_app_runner/
  10. testdata/
  11. .gitignore
  12. Android.bp
  13. Android.mk
  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.proto
  44. cmd_report_sample_test.cpp
  45. cmd_report_test.cpp
  46. cmd_stat.cpp
  47. cmd_stat_impl.h
  48. cmd_stat_test.cpp
  49. cmd_trace_sched.cpp
  50. cmd_trace_sched_test.cpp
  51. command.cpp
  52. command.h
  53. command_test.cpp
  54. cpu_hotplug_test.cpp
  55. dso.cpp
  56. dso.h
  57. dso_test.cpp
  58. environment.cpp
  59. environment.h
  60. environment_test.cpp
  61. etm_branch_list.proto
  62. ETMConstants.h
  63. ETMDecoder.cpp
  64. ETMDecoder.h
  65. ETMRecorder.cpp
  66. ETMRecorder.h
  67. event_attr.cpp
  68. event_attr.h
  69. event_fd.cpp
  70. event_fd.h
  71. event_selection_set.cpp
  72. event_selection_set.h
  73. event_type.cpp
  74. event_type.h
  75. event_type_table.h
  76. generate_event_type_table.py
  77. get_test_data.h
  78. gtest_main.cpp
  79. IOEventLoop.cpp
  80. IOEventLoop.h
  81. IOEventLoop_test.cpp
  82. JITDebugReader.cpp
  83. JITDebugReader.h
  84. kallsyms.cpp
  85. kallsyms.h
  86. kallsyms_test.cpp
  87. main.cpp
  88. MapRecordReader.cpp
  89. MapRecordReader.h
  90. MapRecordReader_test.cpp
  91. NOTICE
  92. OfflineUnwinder.cpp
  93. OfflineUnwinder.h
  94. OfflineUnwinder_impl.h
  95. OfflineUnwinder_test.cpp
  96. OWNERS
  97. perf_event.h
  98. perf_regs.cpp
  99. perf_regs.h
  100. perf_regs_test.cpp
  101. ProbeEvents.cpp
  102. ProbeEvents.h
  103. ProbeEvents_test.cpp
  104. profcollect.cpp
  105. read_apk.cpp
  106. read_apk.h
  107. read_apk_test.cpp
  108. read_dex_file.cpp
  109. read_dex_file.h
  110. read_dex_file_test.cpp
  111. read_elf.cpp
  112. read_elf.h
  113. read_elf_test.cpp
  114. read_symbol_map.cpp
  115. read_symbol_map.h
  116. read_symbol_map_test.cpp
  117. README.md
  118. record.cpp
  119. record.h
  120. record_equal_test.h
  121. record_file.h
  122. record_file.proto
  123. record_file_format.h
  124. record_file_reader.cpp
  125. record_file_test.cpp
  126. record_file_writer.cpp
  127. record_lib_interface.cpp
  128. record_lib_test.cpp
  129. record_test.cpp
  130. RecordFilter.cpp
  131. RecordFilter.h
  132. RecordFilter_test.cpp
  133. RecordReadThread.cpp
  134. RecordReadThread.h
  135. RecordReadThread_test.cpp
  136. report_lib_interface.cpp
  137. report_utils.cpp
  138. report_utils.h
  139. report_utils_test.cpp
  140. sample_tree.h
  141. sample_tree_test.cpp
  142. SampleComparator.h
  143. SampleDisplayer.h
  144. TEST_MAPPING
  145. test_util.cpp
  146. test_util.h
  147. thread_tree.cpp
  148. thread_tree.h
  149. thread_tree_test.cpp
  150. tracing.cpp
  151. tracing.h
  152. tracing_test.cpp
  153. utils.cpp
  154. utils.h
  155. utils_test.cpp
  156. workload.cpp
  157. workload.h
  158. 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.