tree: 034e56bd2196e26c4d5ebfb8622da8578fea2161 [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. art_jni_method_table.h
  15. build_id.h
  16. callchain.h
  17. CallChainJoiner.cpp
  18. CallChainJoiner.h
  19. CallChainJoiner_test.cpp
  20. cmd_api.cpp
  21. cmd_api_impl.h
  22. cmd_api_test.cpp
  23. cmd_debug_unwind.cpp
  24. cmd_debug_unwind_test.cpp
  25. cmd_dumprecord.cpp
  26. cmd_dumprecord_test.cpp
  27. cmd_help.cpp
  28. cmd_inject.cpp
  29. cmd_inject_impl.h
  30. cmd_inject_test.cpp
  31. cmd_kmem.cpp
  32. cmd_kmem_test.cpp
  33. cmd_list.cpp
  34. cmd_list_test.cpp
  35. cmd_merge.cpp
  36. cmd_merge_test.cpp
  37. cmd_monitor.cpp
  38. cmd_monitor_test.cpp
  39. cmd_record.cpp
  40. cmd_record_impl.h
  41. cmd_record_test.cpp
  42. cmd_report.cpp
  43. cmd_report_sample.cpp
  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. ETMDecoder.cpp
  63. ETMDecoder.h
  64. ETMRecorder.cpp
  65. ETMRecorder.h
  66. event_attr.cpp
  67. event_attr.h
  68. event_fd.cpp
  69. event_fd.h
  70. event_selection_set.cpp
  71. event_selection_set.h
  72. event_type.cpp
  73. event_type.h
  74. event_type_table.h
  75. generate_art_jni_method_table.py
  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_format.h
  123. record_file_reader.cpp
  124. record_file_test.cpp
  125. record_file_writer.cpp
  126. record_lib_interface.cpp
  127. record_lib_test.cpp
  128. record_test.cpp
  129. RecordReadThread.cpp
  130. RecordReadThread.h
  131. RecordReadThread_test.cpp
  132. report_lib_interface.cpp
  133. report_sample.proto
  134. report_utils.cpp
  135. report_utils.h
  136. report_utils_test.cpp
  137. sample_tree.h
  138. sample_tree_test.cpp
  139. SampleComparator.h
  140. SampleDisplayer.h
  141. TEST_MAPPING
  142. test_util.cpp
  143. test_util.h
  144. thread_tree.cpp
  145. thread_tree.h
  146. thread_tree_test.cpp
  147. tracing.cpp
  148. tracing.h
  149. tracing_test.cpp
  150. utils.cpp
  151. utils.h
  152. utils_test.cpp
  153. workload.cpp
  154. workload.h
  155. 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.