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