summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
32 hoursMerge "Snap for 11926842 from 74aef3202a18571113f7a9b67fdbee7b69f55e00 to ↵sdk-releaseAndroid Build Coastguard Worker
sdk-release" into sdk-release
32 hoursSnap for 11926842 from 74aef3202a18571113f7a9b67fdbee7b69f55e00 to sdk-releaseAndroid Build Coastguard Worker
Change-Id: I5228698dc2583a31053174b5db24f4820964e3cb
34 hoursMerge "libc++fs is part of libc++ now." into mainHEADmastermainElliott Hughes
38 hoursMerge "profcollect: Clean up stale comments. NFC." into mainTreehugger Robot
39 hoursMerge "Increase maximum trace files storage limit" into mainTreehugger Robot
39 hourslibc++fs is part of libc++ now.Elliott Hughes
Change-Id: Ic6ef9a655e8eeef9f604f452e7832cefd387ffbd
39 hoursMerge "Revert "Move ETM decode back to idle processing stage"" into mainTreehugger Robot
40 hoursRevert "Move ETM decode back to idle processing stage"Yi Kong
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
2 daysprofcollect: Clean up stale comments. NFC.Yi Kong
These bugs are marked as WAI. Test: N/A Change-Id: Iad0252d55f8e3fb222ae7cc7ced805c0afaff4ec
2 daysIncrease maximum trace files storage limitYi Kong
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
4 daysMerge "Fix build with ToT libc++" into mainTreehugger Robot
4 daysFix build with ToT libc++Yi Kong
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
7 daysMerge changes I98f17636,I11f6946d into mainTreehugger Robot
* changes: profcollect: Do not collect traces for 32-bit libraries profcollect: Record profiles for apps
7 daysprofcollect: Do not collect traces for 32-bit librariesYi Kong
We have deprecated all AFDO optimizations for 32-bit libraries, no need to collect traces for these libraries. Test: presubmit Change-Id: I98f1763632981de6b4986d2fd3783857d8a23543
7 daysprofcollect: Record profiles for appsYi Kong
Bug: 303181036 Test: manual Change-Id: I11f6946d534f335ed84fb1016a3e284c28f1daae
7 daysMerge "Move ETM decode back to idle processing stage" into mainTreehugger Robot
7 daysMerge "Snap for 11904077 from 6006378a3dfa8507680e611cab07ead23eab514d to ↵Android Build Coastguard Worker
sdk-release" into sdk-release
7 daysSnap for 11904077 from 6006378a3dfa8507680e611cab07ead23eab514d to sdk-releaseAndroid Build Coastguard Worker
Change-Id: I5a9c019d1ed7c83531c717a72dc9f625369495bc
7 daysMove ETM decode back to idle processing stageYi Kong
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
8 daysMerge changes I5feed821,If80b3bf9 into mainTreehugger Robot
* changes: Add simpleperf_writer_fuzzer Refactor libsimpleperf_report_fuzzer
9 daysAdd simpleperf_writer_fuzzerOnkar Shinde
Test: ./simpleperf_writer_fuzzer exec/s: 1273 Bug: 342518657 Change-Id: I5feed821c0e95bc5a57cd47a126d195e08060453
9 daysRefactor libsimpleperf_report_fuzzerOnkar Shinde
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
2024-05-23Merge "Snap for 11878282 from e589fe4031bb4ab39e74cbc38897c4af60250eaf to ↵Android Build Coastguard Worker
sdk-release" into sdk-release
2024-05-23Snap for 11878282 from e589fe4031bb4ab39e74cbc38897c4af60250eaf to sdk-releaseAndroid Build Coastguard Worker
Change-Id: I2ed962385f779366462865a69ebabe5786ea65d8
2024-05-22Merge "Convert pagecache to python 3" into mainTreehugger Robot
2024-05-22Convert pagecache to python 3Dominic Lemire
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
2024-05-22Merge "Snap for 11871564 from 76fc81fc00bddda2a45014375da135924329530a to ↵Android Build Coastguard Worker
sdk-release" into sdk-release
2024-05-21Snap for 11871564 from 76fc81fc00bddda2a45014375da135924329530a to sdk-releaseAndroid Build Coastguard Worker
Change-Id: I37485fce623af55269c2238959df94da9f32d3bc
2024-05-21Merge "binder::get_interface -> binder::wait_for_interface" into mainTreehugger Robot
2024-05-20Merge "check_elf_alignment.sh: extract APEXes" into mainSteven Moreland
2024-05-20binder::get_interface -> binder::wait_for_interfaceFrederick Mayle
binder::get_interface is deprecated. Bug: 339248908 Test: TH Change-Id: I4882ad6d411c444356b4cc100e0e530d3a0dac58
2024-05-20Merge changes I0c928f19,I0dc6db3c into mainSteven Moreland
* changes: elf align: allow 2**n for n >= 14 check_elf_alignment.sh also check executables
2024-05-20Merge changes Idb157e12,I459352b4 into mainTreehugger Robot
* changes: profcollect: switch .rc to device_config.aconfig_flags namespace profcollect: Fix docs not to invoke setprop directly
2024-05-19profcollect: switch .rc to device_config.aconfig_flags namespaceYi Kong
We switched the rest of profcollect to use the new namespace. Test: manual Change-Id: Idb157e12ed8b3509b2056a1e42ff079d9af0947a
2024-05-19profcollect: Fix docs not to invoke setprop directlyYi Kong
Should use device_config to set local overrides. Test: N/A Change-Id: I459352b488f12857af8ec6d8dbbacbfea1f01b10
2024-05-18elf align: allow 2**n for n >= 14Steven Moreland
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
2024-05-18check_elf_alignment.sh also check executablesSteven Moreland
Bug: N/A Test: manual Change-Id: I0dc6db3c1a091c6344019df3f88fbbfb27313a81
2024-05-17Merge "simpleperf: inject: Fix a segfault error when parsing vmlinux data" ↵Treehugger Robot
into main
2024-05-17simpleperf: inject: Fix a segfault error when parsing vmlinux dataYabin Cui
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
2024-05-16Merge "Snap for 11847757 from f3b1b8712ad41060570f4ff7930f8f169fc84742 to ↵Android Build Coastguard Worker
sdk-release" into sdk-release
2024-05-16Snap for 11847757 from f3b1b8712ad41060570f4ff7930f8f169fc84742 to sdk-releaseAndroid Build Coastguard Worker
Change-Id: I83c31b5521b9af1db6f09fcd2dd0872a79b41905
2024-05-15Merge "simpleperf: inject: Ignore invalid data instead of aborting" into mainYabin Cui
2024-05-15simpleperf: inject: Ignore invalid data instead of abortingYabin Cui
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
2024-05-14Merge "Snap for 11841552 from 663b30f3170737b64e98a3acd871f0a5fa2f14ac to ↵Android Build Coastguard Worker
sdk-release" into sdk-release
2024-05-14Snap for 11841552 from 663b30f3170737b64e98a3acd871f0a5fa2f14ac to sdk-releaseAndroid Build Coastguard Worker
Change-Id: I516bb818c12b3c701206e9fb1b281ab6a5767b8f
2024-05-14Merge "profcollectd: Add kernel release in config" into mainYabin Cui
2024-05-10profcollectd: Add kernel release in configYabin Cui
It makes us easier to locate kernel prebuilts in the build server. Bug: 323054107 Test: run profcollectd Change-Id: I3f42ca89e76335b16397b57fdc616d4096c78fea
2024-05-09Merge "Replace impl ToString with impl Display" into mainTreehugger Robot
2024-05-09Replace impl ToString with impl DisplayChris Wailes
If the Display interface is implemented the compiler will automatically derive an implementation of ToString. Test: m rust Bug: 333887339 Change-Id: Ib07011b5004bdc42b60eff7405528b72e77b9496
2024-05-09Merge "simpleperf: Fix default value for --etm-flush-interval" into mainYabin Cui