Age | Commit message (Collapse) | Author |
|
sdk-release" into sdk-release
|
|
Change-Id: I5228698dc2583a31053174b5db24f4820964e3cb
|
|
|
|
|
|
|
|
Change-Id: Ic6ef9a655e8eeef9f604f452e7832cefd387ffbd
|
|
|
|
This reverts commit 056299c96e99b0d0e3e6f1a23a0f87684eea7e57.
This reduces number of traces by too much. Reverting this until we have implemented compressed traces in simpleperf.
Change-Id: I1ad033c4e7394e337435cde886f460fd29f766f3
|
|
These bugs are marked as WAI.
Test: N/A
Change-Id: Iad0252d55f8e3fb222ae7cc7ced805c0afaff4ec
|
|
Current limit of 512 MB is too small.
Trace files are around 100 MB. Zstd has a typical compression ratio of 4. We can only store 25 traces until background processing clears the traces.
Raising the limit to 768 MB gives us space for approximately 38 traces, which should be enough for a day's collection workload.
Change-Id: I8d36120bdc3873b47bc56ea9a9370b7ed3601595
Test: manual
Bug: 343556964
|
|
|
|
system/extras/simpleperf/utils.h:81:53: error: no matching constructor for initialization of 'std::ifstream' (aka 'basic_ifstream<char>')
81 | explicit LineReader(std::string_view file_path) : ifs_(file_path) {}
| ^ ~~~~~~~~~
Test: Build with ToT libc++
Change-Id: I45a12b7cee66b35c8859bb5f71c7784d1dfc4f74
|
|
* changes:
profcollect: Do not collect traces for 32-bit libraries
profcollect: Record profiles for apps
|
|
We have deprecated all AFDO optimizations for 32-bit libraries, no need
to collect traces for these libraries.
Test: presubmit
Change-Id: I98f1763632981de6b4986d2fd3783857d8a23543
|
|
Bug: 303181036
Test: manual
Change-Id: I11f6946d534f335ed84fb1016a3e284c28f1daae
|
|
|
|
sdk-release" into sdk-release
|
|
Change-Id: I5a9c019d1ed7c83531c717a72dc9f625369495bc
|
|
ETM decoding is CPU intensive and caused increased battery usage. Move
it back to process when the device is idle and charging to reduce the
impact.
Test: presubmit
Bug: 343556964
Change-Id: I4ab6589abe81480379c19ac37aab2d7fde192d09
|
|
* changes:
Add simpleperf_writer_fuzzer
Refactor libsimpleperf_report_fuzzer
|
|
Test: ./simpleperf_writer_fuzzer
exec/s: 1273
Bug: 342518657
Change-Id: I5feed821c0e95bc5a57cd47a126d195e08060453
|
|
The following are updates to the fuzzer:
1. Added new APIs and randomized API calls.
2. Added dictionary to create a valid RecordFileReader
Test: ./libsimpleperf_report_fuzzer corpus/
exec/s: 165
Bug: 342518657
Change-Id: If80b3bf9b41b30e47148f02ebe75aa9b70e6b0c5
|
|
sdk-release" into sdk-release
|
|
Change-Id: I2ed962385f779366462865a69ebabe5786ea65d8
|
|
|
|
First pass with '2to3', then fixups:
- Call python3 explicitly
- Remove redundant print((), ...) parentheses
- Use len() to compare filename < 64
- Convert Queue.get() bytes to string
- Handle ctrl-c without traceback
Bug: 342168858
Test: sudo apt install python-is-python3 && ./pagecache.py
Change-Id: Ie47ace7ed1ad620c77bb86955b6b60b0c57e047f
|
|
sdk-release" into sdk-release
|
|
Change-Id: I37485fce623af55269c2238959df94da9f32d3bc
|
|
|
|
|
|
binder::get_interface is deprecated.
Bug: 339248908
Test: TH
Change-Id: I4882ad6d411c444356b4cc100e0e530d3a0dac58
|
|
* changes:
elf align: allow 2**n for n >= 14
check_elf_alignment.sh also check executables
|
|
* changes:
profcollect: switch .rc to device_config.aconfig_flags namespace
profcollect: Fix docs not to invoke setprop directly
|
|
We switched the rest of profcollect to use the new namespace.
Test: manual
Change-Id: Idb157e12ed8b3509b2056a1e42ff079d9af0947a
|
|
Should use device_config to set local overrides.
Test: N/A
Change-Id: I459352b488f12857af8ec6d8dbbacbfea1f01b10
|
|
I love regex, it's
1 then 4-9 (14 - 19)
2-9 then 0-9 (20 - 99)
3 digit numbers (100+)
Because libhwui is 2**21 aligned.
Bug: N/A
Test: N/A
Change-Id: I0c928f1936f029ae940fcf18cdc49ba4776ec863
|
|
Bug: N/A
Test: manual
Change-Id: I0dc6db3c1a091c6344019df3f88fbbfb27313a81
|
|
into main
|
|
After change in aosp/3086621, addrs are changed when base_addr != 0.
But they are still used to search in binary.range_count_map. This
causes segfault error.
Fix it by putting count values in the vector.
Bug: 322399357
Test: run simpleperf_unit_test
Test: run simpleperf manually
Change-Id: I6f02f32288b870a4f758e1c8e28fec4b6e567467
|
|
sdk-release" into sdk-release
|
|
Change-Id: I83c31b5521b9af1db6f09fcd2dd0872a79b41905
|
|
|
|
When converting ETM data for the kernel, the check
"CHECK_GE(vaddr, first_load_segment_addr)" may fail.
It happens when the ETM data asks the decoder to decode
.word data at the end of functions as instructions.
Not sure why this can happen (maybe because of garbage
ETM data caused by overflow), but we don't need to
abort in this situation. Instead, ignore the invalid
data.
Bug: 322399357
Test: run simpleperf_unit_test
Change-Id: Id42a9d84b610bba9003d899efc8fd6ceb39542f9
|
|
sdk-release" into sdk-release
|
|
Change-Id: I516bb818c12b3c701206e9fb1b281ab6a5767b8f
|
|
|
|
It makes us easier to locate kernel prebuilts in the build server.
Bug: 323054107
Test: run profcollectd
Change-Id: I3f42ca89e76335b16397b57fdc616d4096c78fea
|
|
|
|
If the Display interface is implemented the compiler will automatically
derive an implementation of ToString.
Test: m rust
Bug: 333887339
Change-Id: Ib07011b5004bdc42b60eff7405528b72e77b9496
|
|
|