Skip to content
Snippets Groups Projects
  1. Mar 16, 2018
    • Andreas Gampe's avatar
      PerfDataConverter: Silence logging · 77162c97
      Andreas Gampe authored
      Move DLOG to be properly behind debug flag. Move a noisy LOG to VLOG.
      
      Bug: 73175642
      Test: mmma external/perf_data_convert/src/quipper
      Test: quipper_unit_tests
      Change-Id: I2ddc8bc2504e9d9e84e7fa0d500129a02f7c1a37
      200 tags
      77162c97
    • Andreas Gampe's avatar
      PerfDataConverter: Disable windows build · 682a064c
      Andreas Gampe authored
      Disable test build for windows. Also fix missing libbase dependency
      in disabled module.
      
      Bug: 73175642
      Test: mmma external/perf_data_converter/src/quipper
      Test: quipper_unit_tests
      Change-Id: I7c875cdae7f75dee8e9cd11b31807d02984d242a
      682a064c
  2. Mar 14, 2018
  3. Mar 10, 2018
    • Andreas Gampe's avatar
      PerfDataConverter: Use simpleperf's ELF reading capabilities · bb494ed3
      Andreas Gampe authored
      Do not use libelf except for a (disabled) test.
      
      Bug: 73175642
      Test: mmma external/perf_data_converter/src/quipper
      Test: quipper_unit_tests
      Test: quipper-full_unit_tests
      Test: (quipper_libelf_test)
      Change-Id: I653fee059a3e9a53111821b25e7dd1678f254309
      bb494ed3
    • Andreas Gampe's avatar
      PerfDataConverter: Switch to libbase for logging · 894ed195
      Andreas Gampe authored
      Add androidbase, keep a thin layer for verbose logging (ignoring
      the level).
      
      Bug: 73175642
      Test: mmma external/perf_data_converter/src/quipper
      Test: quipper-full_unit_tests
      Change-Id: Ibc7efc2681fb1a644b6d8b560846b31a0988b4b0
      894ed195
    • Andreas Gampe's avatar
      PerfDataConverter: Add Android.bp file · 000c1b2b
      Andreas Gampe authored
      Create libquipper static library and tests for Android use, based
      on protobuf-lite. Add a version for protobuf-full to support all
      tests.
      
      Some tests are restricted to host at the moment because of hardcoded
      tmp paths.
      
      Bug: 73175642
      Test: mmma external/perf_data_converter/src/quipper
      Test: quipper_unit_tests
      Test: quipper-full_unit_tests
      Change-Id: I195de208a3654f5dda05288325301b8c0c05c573
      000c1b2b
  4. Mar 09, 2018
  5. Mar 08, 2018
  6. Mar 07, 2018
  7. Mar 02, 2018
  8. Feb 24, 2018
    • lakshmana's avatar
      Remove unused variable. · e8f1389f
      lakshmana authored
      PiperOrigin-RevId: 186726407
      e8f1389f
    • lakshmana's avatar
      Add support for perf events PERF_RECORD_AUX and PERF_RECORD_AUXTRACE in quipper. · 98ed13a0
      lakshmana authored
      - Add support for these events in both file and piped mode
      - Add support to read the trailing trace data from PERF_RECORD_AUXTRACE event
      - Add new testdata files containing intel_pt// event
      
      PiperOrigin-RevId: 186704497
      98ed13a0
    • lakshmana's avatar
      e140917b
    • agampe's avatar
      Add sysmacros.h for major/minor macros · 484dd68a
      agampe authored
      Inclusion of sys/sysmacros.h by sys/types.h is deprecated. Bionic, for
      example, no longer offers the transitive include. Replace sys/types.h
      with sys/sysmacros.h for major() and minor() macros.
      
      PiperOrigin-RevId: 186476750
      484dd68a
    • vlankhaar's avatar
      Treat multiple, contiguous hugepage regions as a single mapping. · a6b8f1a4
      vlankhaar authored
      A hugepage_text modified region of memory normally results in a
      single mmap() entry reported in /proc/${pid}/maps, but when a
      subsequent mlock()/munlock() happens within that region, the
      mapping will be broken into multiple entries.
      
      This attempts to deduce mappings by looking for virtually
      contiguous mappings that are immediately followed by a
      non-anonymous-hugepage (i.e. pgoff!=0) mapping afterwards, and
      using that subsequent mapping to roll pgoff down to the range
      of anonymous-backed (likely hugepage_text) mappings.
      
      PiperOrigin-RevId: 185541172
      a6b8f1a4
    • vlankhaar's avatar
      Use unique testcase name for tests. · 37169ec8
      vlankhaar authored
      When all tests are linked together (e.g. the 'unit_tests' build target),
      googletest requires that each unit test have a unique name, but sees
      PerfDataFiles from both perf_reader_test.cc and perf_serializer_test.cc. Using
      a unique (but repetitive!) testcase name is a stopgap measure until each unit
      test is built separately (e.g. separate bazel cc_test() targets).
      
      PiperOrigin-RevId: 185462487
      37169ec8
    • vlankhaar's avatar
      Split the singular testcase into separate per-file tests. · b5655cd0
      vlankhaar authored
      This enables rerunning tests separately with --gtest_filter, such as:
      ./conversion_utils_test --gunit_filter ConversionUtilsTest/PerfFile.TextOutput/17
      
      PiperOrigin-RevId: 185041078
      b5655cd0
    • lakshmana's avatar
      Formatted files. · 3fa0a5f4
      lakshmana authored
      PiperOrigin-RevId: 185032883
      3fa0a5f4
  9. Feb 08, 2018
  10. Feb 07, 2018
  11. Jan 23, 2018
  12. Dec 01, 2017
  13. Nov 22, 2017
  14. Oct 31, 2017
    • vlankhaar's avatar
      Copybara staging (#33) · 733f709f
      vlankhaar authored
      * Add dependency on googlemock to enable EXPECT_THAT(<container>, Contains(...));
      
      This should allow simplified tests that are more readable and easier to add.
      
      (also clean up an attempt to LOG() a streamstream that failed to compile.)
      
      PiperOrigin-RevId: 174061634
      
      * Store perf-version in profile.proto comment.
      
      PiperOrigin-RevId: 174094448
      733f709f
Loading