1. 06 Apr, 2016 1 commit
  2. 05 Apr, 2016 1 commit
  3. 04 Apr, 2016 1 commit
  4. 31 Mar, 2016 1 commit
  5. 29 Mar, 2016 4 commits
  6. 28 Mar, 2016 1 commit
  7. 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
  8. 22 Mar, 2016 1 commit
    • dcashman's avatar
      aslr_test: Fix typo. · b543b4ed
      dcashman authored
      Bug: 26512380
      Change-Id: Ia65986700f198a0f09db4a45a7d1bde173e557e6
      b543b4ed
  9. 21 Mar, 2016 1 commit
  10. 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
  11. 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
  12. 14 Mar, 2016 1 commit
  13. 10 Mar, 2016 9 commits
  14. 09 Mar, 2016 5 commits
  15. 08 Mar, 2016 1 commit
  16. 07 Mar, 2016 7 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
    • Yabin Cui's avatar
      simpleperf: fix build by removing off64_t. · cc9bc340
      Yabin Cui authored
      Bug: 26962895
      Change-Id: I211bacc22c2f6b6b24c639365c706e93d66ce4ac
      (cherry picked from commit 41e32ca2)
      cc9bc340
    • Yabin Cui's avatar
      simpleperf: report symbols of native libraries in apk file. · 7288501a
      Yabin Cui authored
      Changes included:
      1. provide interface in read_apk.h to read build id and symbols.
      2. report symbols of native libraries in apk file.
      3. refactor code in read_elf.cpp and read_apk.cpp.
      4. add verbose log.
      5. add -o report_file_name option for report command.
      6. add corresponding unit tests.
      
      Bug: 26962895
      Change-Id: I0d5398996e0c29dba4a6f5226692b758ca096bbd
      (cherry picked from commit b1a885b0)
      7288501a
    • Yabin Cui's avatar
      simpleperf: accept different perf_attr sizes. · 9a1f829d
      Yabin Cui authored
      The size of perf_attr can be increased as new features are added. And
      we can accept different perf_attr sizes in perf.data, and ignore
      unknown features.
      
      Bug: 26962895
      
      Change-Id: Ia42617f92acb3ab6ae56eb91aa0d7b73efc0b8af
      (cherry picked from commit dd2ae287)
      9a1f829d
    • Yabin Cui's avatar
      simpleperf: port read_apk and read_apk/read_elf tests to nonlinux. · 0bd2a5ce
      Yabin Cui authored
      Also make following small changes:
      1. Manage testdata files like libziparchive.
      2. Replace StringToPid() with android::base::ParseInt().
      3. Add tests in read_elf_test.
      
      Bug: 26962895
      
      Change-Id: I6603e9f3cea3a013e2618ea003790d102739f843
      (cherry picked from commit 569f64af)
      0bd2a5ce
  17. 03 Mar, 2016 2 commits