tree: a0c0cc8b6e497d3d75de7837cf985b0f42bf912d [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_debug_unwind.cpp
  21. cmd_debug_unwind_test.cpp
  22. cmd_dumprecord.cpp
  23. cmd_dumprecord_test.cpp
  24. cmd_help.cpp
  25. cmd_inject.cpp
  26. cmd_inject_test.cpp
  27. cmd_kmem.cpp
  28. cmd_kmem_test.cpp
  29. cmd_list.cpp
  30. cmd_list_test.cpp
  31. cmd_record.cpp
  32. cmd_record_test.cpp
  33. cmd_report.cpp
  34. cmd_report_sample.cpp
  35. cmd_report_sample_test.cpp
  36. cmd_report_test.cpp
  37. cmd_stat.cpp
  38. cmd_stat_test.cpp
  39. cmd_trace_sched.cpp
  40. cmd_trace_sched_test.cpp
  41. command.cpp
  42. command.h
  43. command_test.cpp
  44. cpu_hotplug_test.cpp
  45. dso.cpp
  46. dso.h
  47. dso_test.cpp
  48. environment.cpp
  49. environment.h
  50. environment_test.cpp
  51. ETMDecoder.cpp
  52. ETMDecoder.h
  53. ETMRecorder.cpp
  54. ETMRecorder.h
  55. event_attr.cpp
  56. event_attr.h
  57. event_fd.cpp
  58. event_fd.h
  59. event_selection_set.cpp
  60. event_selection_set.h
  61. event_type.cpp
  62. event_type.h
  63. event_type_table.h
  64. generate_event_type_table.py
  65. get_test_data.h
  66. gtest_main.cpp
  67. inplace_sampler_lib.cpp
  68. inplace_sampler_lib.h
  69. InplaceSamplerClient.cpp
  70. InplaceSamplerClient.h
  71. IOEventLoop.cpp
  72. IOEventLoop.h
  73. IOEventLoop_test.cpp
  74. JITDebugReader.cpp
  75. JITDebugReader.h
  76. main.cpp
  77. NOTICE
  78. OfflineUnwinder.cpp
  79. OfflineUnwinder.h
  80. OWNERS
  81. perf_event.h
  82. perf_regs.cpp
  83. perf_regs.h
  84. read_apk.cpp
  85. read_apk.h
  86. read_apk_test.cpp
  87. read_dex_file.cpp
  88. read_dex_file.h
  89. read_dex_file_test.cpp
  90. read_elf.cpp
  91. read_elf.h
  92. read_elf_test.cpp
  93. README.md
  94. record.cpp
  95. record.h
  96. record_equal_test.h
  97. record_file.h
  98. record_file_format.h
  99. record_file_reader.cpp
  100. record_file_test.cpp
  101. record_file_writer.cpp
  102. record_lib_interface.cpp
  103. record_lib_test.cpp
  104. record_test.cpp
  105. RecordReadThread.cpp
  106. RecordReadThread.h
  107. RecordReadThread_test.cpp
  108. report_lib_interface.cpp
  109. report_sample.proto
  110. sample_tree.h
  111. sample_tree_test.cpp
  112. SampleComparator.h
  113. SampleDisplayer.h
  114. test_util.h
  115. thread_tree.cpp
  116. thread_tree.h
  117. thread_tree_test.cpp
  118. tracing.cpp
  119. tracing.h
  120. UnixSocket.cpp
  121. UnixSocket.h
  122. UnixSocket_test.cpp
  123. utils.cpp
  124. utils.h
  125. utils_test.cpp
  126. workload.cpp
  127. workload.h
  128. 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 master 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.