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