1. 29 Apr, 2016 2 commits
  2. 16 Apr, 2016 1 commit
  3. 14 Apr, 2016 1 commit
    • Yabin Cui's avatar
      simpleperf: use libbacktrace_offline static library. · 2362310b
      Yabin Cui authored
      Device may not have libbacktrace_offline shared library, so always
      using libbacktrace_offline static library.
      Use simpleperf namespace to avoid conflicts with ThreadEntry in
      libbacktrace.
      
      Bug: 28152982
      Change-Id: Ia2cdbee3b28556c790ccd7b061a801ed96f9b97c
      (cherry picked from commit 040f7b4c)
      2362310b
  4. 08 Apr, 2016 2 commits
  5. 06 Apr, 2016 1 commit
  6. 05 Apr, 2016 1 commit
  7. 04 Apr, 2016 1 commit
  8. 31 Mar, 2016 1 commit
  9. 29 Mar, 2016 4 commits
  10. 28 Mar, 2016 1 commit
  11. 26 Mar, 2016 2 commits
    • Yabin Cui's avatar
      Simpleperf: remove dependency on global current_arch. · e435e7d8
      Yabin Cui authored
      When running unit tests on arm64 devices:
      [OK] ReportCommandTest.dwarf_callgraph
      [OK] record_cmd.dwarf_callchain_sampling.
      ERROR: can't unwind data recorded on a different architecture.
      
      It is because ReportCommandtest.dwarf_callgraph opens a perf.data
      recorded on x86_64, and changes current_arch. It causes a problem when
      the test record_cmd.dwarf_callchain_sampling calls libbacktrace built
      on aarch64. Athough it doesn't make the test fail, we should fix this.
      
      Bug: 27860749
      
      Change-Id: I2cd70369a769ef2199cab2302b8b824369be0907
      (cherry picked from commit 48460892)
      e435e7d8
    • Yabin Cui's avatar
      simpleperf: don't looking for _text symbol in /proc/kallsyms. · 9fbb28cc
      Yabin Cui authored
      simpleperf looks for _text symbol in /proc/kallsyms to get
      kernel address space information. But that info is no longer
      needed. As some kernels don't have _text symbol, we should
      remove the corresponding code.
      
      Bug: 27814103
      Change-Id: I4eb9869b58c51846c99b1204f304cd107a0eb354
      (cherry picked from commit 7134f388)
      9fbb28cc
  12. 22 Mar, 2016 1 commit
    • dcashman's avatar
      aslr_test: Fix typo. · b543b4ed
      dcashman authored
      Bug: 26512380
      Change-Id: Ia65986700f198a0f09db4a45a7d1bde173e557e6
      b543b4ed
  13. 21 Mar, 2016 1 commit
  14. 17 Mar, 2016 1 commit
    • Felipe Leme's avatar
      Added -q flag to ignore errors. · a5aa8f95
      Felipe Leme authored
      dumpstate calls showmap for each pid, and since most of them are empty,
      it ends up polluting logcat with entries like:
      
      03-17 14:49:05.974 12160 12160 E dumpstate: command '/system/xbin/su
      root showmap -q 9867' failed: No such file or directory
      
      BUG: 26906985
      Change-Id: I18d86adefe3f4b248f672732460d1145103e5828
      a5aa8f95
  15. 15 Mar, 2016 1 commit
    • dcashman's avatar
      Correct aslr_test minimum arm value. · 6d7b862b
      dcashman authored
      Default mmap_rnd_bits value is now equal to the maximum supported (16)
      on arm, not the minimum, 8.  Adjust the test criteria to match this.
      
      Bug: 27680571
      Change-Id: I16f2c3120c92ca9ea537f445ba24ebd8172d613f
      6d7b862b
  16. 14 Mar, 2016 1 commit
  17. 10 Mar, 2016 9 commits
  18. 09 Mar, 2016 5 commits
  19. 08 Mar, 2016 1 commit
  20. 07 Mar, 2016 3 commits
    • Yabin Cui's avatar
      simpleperf: support building cts test. · b7724264
      Yabin Cui authored
      1. build cts test libraries.
      2. change tests to use tmpfile instead of perf.data.
      3. support extracting testdata from cts test file.
      
      Bug: 27387280
      Change-Id: I7c5db77f3157d586d0c9beb446b247626e7cce36
      (cherry picked from commit be7ec66e)
      b7724264
    • Yabin Cui's avatar
      simpleperf: fix mac build. · 08663eb5
      Yabin Cui authored
      I forgot that mac doesn't support whole static library. Change to static library
      to avoid hiting the same problem in the future.
      
      Bug: 26962895
      Change-Id: Ia8e26c2e1cf7621391e00e100b22b7ed451dfa32
      (cherry picked from commit ff7465c8)
      08663eb5
    • Yabin Cui's avatar
      simpleperf: port cmd_report_test to nonlinux. · 025745a0
      Yabin Cui authored
      And fix one build_id bug introduced by previous patch.
      
      Bug: 26962895
      
      Change-Id: Ibb8bd6ec77ee862bb01c26342d3b3024468e75b2
      (cherry picked from commit 6e51bef9)
      025745a0