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