- Mar 16, 2018
-
-
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
-
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
-
- Mar 14, 2018
-
-
Andreas Gampe authored
Skip this data for now. Bug: 74644084 Test: mmma external/perf_data_converter/src/quipper Test: quipper_unit_tests Change-Id: Idab4c4133e9692db7cc8513e3dfa57be32fe3edf
-
Andreas Gampe authored
To ensure protos can be imported into other projects easily. Bug: 73175642 Test: mmma external/perf_data_converter/src/quipper Change-Id: Ic5b634bfa771f734a6f92da8b10963a2e4834c45
-
- Mar 10, 2018
-
-
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
-
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
-
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
-
- Mar 09, 2018
-
-
Andreas Gampe authored
Bug: 73175642 Test: none Change-Id: Id772926730ed119c155ac442de1c47a5300ef342
-
- Mar 08, 2018
-
-
Andreas Gampe authored
Disable protobuf-full-only code in general-purpose file. Bug: 73175642 Test: none Change-Id: Idcd91dfc7de83e7dd152dc11ae07423f3873b965
-
Andreas Gampe authored
Bug: 73175642 Test: none Change-Id: I235c09e849c7330da379c49a0c37246b98651999
-
- Mar 07, 2018
-
-
Andreas Gampe authored
Bug: 73175642 Test: none Change-Id: Ic92353057311bc82133a86bba5523961825094a7
-
Andreas Gampe authored
Bug: 73175642 Test: none Change-Id: Icf372599ceb82154a46168015c72ec240cec3597
-
- Mar 02, 2018
-
-
(raulenrique) authored
-
lannadorai authored
-
- Feb 24, 2018
-
-
lakshmana authored
PiperOrigin-RevId: 186726407
-
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
-
lakshmana authored
PiperOrigin-RevId: 186681391
-
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
-
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
-
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
-
vlankhaar authored
This enables rerunning tests separately with --gtest_filter, such as: ./conversion_utils_test --gunit_filter ConversionUtilsTest/PerfFile.TextOutput/17 PiperOrigin-RevId: 185041078
-
lakshmana authored
PiperOrigin-RevId: 185032883
-
- Feb 08, 2018
-
-
lakshmana authored
PiperOrigin-RevId: 184902172
-
agampe authored
Make huge_page_deducer.cc consistent in using Get() and Mutable(), instead of operator[](). This allows the usage of older protobuf versions. PiperOrigin-RevId: 184529434
-
vlankhaar authored
In order to allow hugepage deduction against perf.data files, via $ perf_converter -i perf.data.before -I perf -o perf.data.after -O perf always run PerfParser on PerfReader regardless of output type. Thus, any quirks/fixes applied by quipper can be applied to a perf.data file. PiperOrigin-RevId: 183144568
-
- Feb 07, 2018
-
-
lannadorai authored
PiperOrigin-RevId: 182392967
-
- Jan 23, 2018
-
-
lakshmana authored
PiperOrigin-RevId: 179133087
-
lakshmana authored
PiperOrigin-RevId: 178849135
-
vlankhaar authored
Specifically - tid_match isn't important when doing address-space logic; just pid_match - address_contiguous conceptually includes pid_match, so move logic there - make simple function for setting MMapEvent filenames, deduplicating the "add new size and remove old size" logic - Simplify the test assertions to deduplicate the "has an event set" logic PiperOrigin-RevId: 178267857
-
- Dec 01, 2017
- Nov 22, 2017
-
-
lakshmana authored
PiperOrigin-RevId: 175232264
-
chongjiang authored
This functionality is now implemented by both perf and quipper on CrOS devices. PiperOrigin-RevId: 175088452
-
lakshmana authored
Change map to unordered_map for Normalizer::pid_to_mmaps_ because sorted keys are of little/no value. This change reduces quipper cpu time by 11.5%. PiperOrigin-RevId: 174525195
-
lakshmana authored
Change map to unordered_map for PerfParser::process_mappers_ because sorted keys are of little/no value. This change reduces quipper cpu time by 6%. PiperOrigin-RevId: 174499357
-
lakshmana authored
Update AddressMapper::GetMappedIDAndOffset to receive a MappingList iterator, which would be pointing at the required MappedRange, instead of searching MappingList for the second time after AddressMapper::GetMappedAddressAndListIterator. This change reduces quipper cpu time by 13%. PiperOrigin-RevId: 174498302
-
lakshmana authored
This change reduces quipper cpu time by 8.5%. PiperOrigin-RevId: 174478900
-
- Oct 31, 2017
-
-
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
-