1. 06 Jan, 2017 1 commit
  2. 05 Jan, 2017 2 commits
  3. 04 Jan, 2017 5 commits
  4. 03 Jan, 2017 1 commit
    • Yabin Cui's avatar
      simpleperf: add binaries in sdk build. · f6bc6f2e
      Yabin Cui authored
      Build 32/64 bit simpleperf on target, simpleperf on host,
      and libsimpleperf_report.so on host in sdk. So they can
      be used in prebuilts/simpleperf.
      
      Bug: http://b/32834638
      Test: make sdk and win_sdk manually.
      
      Change-Id: I1e55c9b1596aca3b982dc30422d29d830077289e
      f6bc6f2e
  5. 28 Dec, 2016 1 commit
  6. 27 Dec, 2016 2 commits
  7. 22 Dec, 2016 1 commit
  8. 21 Dec, 2016 2 commits
  9. 20 Dec, 2016 2 commits
  10. 16 Dec, 2016 6 commits
  11. 15 Dec, 2016 2 commits
  12. 14 Dec, 2016 5 commits
  13. 13 Dec, 2016 1 commit
    • Yabin Cui's avatar
      simpleperf: check monitored targets regularly. · 5f43fc4a
      Yabin Cui authored
      When monitoring some threads/processes not forked by simpleperf,
      check if these threads/processes exist regularly. So we can
      stop profiling once all threads/processes exit.
      
      Also handle SIGHUP signal, so we can finish profiling properly
      when `adb shell simpleperf record xxx` is killed by Ctrl-C.
      
      Add corresponding tests.
      
      Bug: http://b/33558210
      Test: run simpleperf_unit_test.
      Change-Id: Ieae4d00d099dc1c7a0c51b0610dff43981bb642e
      5f43fc4a
  14. 12 Dec, 2016 2 commits
  15. 10 Dec, 2016 1 commit
  16. 09 Dec, 2016 1 commit
    • Yabin Cui's avatar
      simpleperf: Improve Callgraph. · 18385c4b
      Yabin Cui authored
      1. Reduce columns used by callgraph by reducing spaces between
      entries from 11 to 4. This helps to show more entries in the limited screen width.
      2. Add [hit-in-function] line for each entry, so we know the percentage
      of samples hit in the function and samples hit in the children functions.
      3. Add --kallsyms option for report command.
      
      After all, The callgraph is changed like below.
      Before change:
       |--99.08%-- java.lang.Thread.run
       |           void com.example.cyb.tappydefender.TDView.run()
       |           |
       |           |           |--95.63%-- void com.example.cyb.tappydefender.TDView.draw()
      
      After change:
       |--98.85%-- java.lang.Thread.run
       |           void com.example.cyb.tappydefender.TDView.run()
       |    |--0.09%-- [hit in function]
       |    |
       |    |--95.54%-- void com.example.cyb.tappydefender.TDView.draw()
      
      Bug: http://b/33356538
      Test: run simpleperf_unit_test.
      Test: run simpleperf report -g manually.
      Change-Id: Ifc1846d4ee7469cadbcc727cae6bf59552d919d5
      18385c4b
  17. 07 Dec, 2016 4 commits
  18. 03 Dec, 2016 1 commit