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