6a40853e06f5274d84b0fc66e349a36510d1497f |
|
24-Oct-2017 |
Vishnu Nair <vishnun@google.com> |
Add proto dump flag to services (1/2) Adds new PROTO flag which requests services to dump sections in proto format. Modifies dumpsys to take in proto argument and pass on proto flags to services which support proto dumps. Modify PriorityDumper helper class to parse proto arguments and set asProto flags. Bug: 67716082 Test: mmm -j56 frameworks/native/cmds/dumpsys && \ mmm -j56 frameworks/native/services/utils && \ adb sync data && \ adb shell /data/nativetest/dumpsys_test/dumpsys_test && \ adb shell /data/nativetest64/dumpsys_test/dumpsys_test && \ adb shell /data/nativetest/prioritydumper_test/prioritydumper_test && \ adb shell /data/nativetest64/prioritydumper_test/prioritydumper_test && \ printf "\n\n#### ALL TESTS PASSED ####\n" Change-Id: I42c2a6a8876efbf9a7d792d68572499b16985147
/frameworks/native/services/utils/PriorityDumper.cpp
|
357988777218502ed68a56a0c8b247ba64b74721 |
|
07-Oct-2017 |
Vishnu Nair <vishnun@google.com> |
Support priority based dumpsys in surface flinger Call dump with no args when called with CRITICAL priority. Register service with support for critical priority dumps. BUG: 31774394 Test: lunch mini_emulator_x86-userdebug && make -j56 Test: adb bugreport ~/tmp.zip Test: adb shell dumpsys --priority CRITICAL Test: mmm -j32 frameworks/native/services/utils && \ adb sync data && adb shell /data/nativetest/prioritydumper_test/prioritydumper_test && \ adb shell /data/nativetest64/prioritydumper_test/prioritydumper_test && \ printf "\n\n#### ALL TESTS PASSED ####\n" Change-Id: Iec35ef8026d4d9346c83bab203bed8524c28bf89
/frameworks/native/services/utils/PriorityDumper.cpp
|
91a86774805069c853edbb2adb5033ca43621497 |
|
06-Oct-2017 |
Vishnu Nair <vishnun@google.com> |
Revert "Support priority based dumpsys in surface flinger" This reverts commit deb36f24f43fdbd83c5c61d40b9a32d091ac2a37. Reason for revert: fixing git_master/mini_emulator_x86-userdebug break Change-Id: I4729bcb0f4c6ee1f388b916666a0ddbf8a5da5bd
/frameworks/native/services/utils/PriorityDumper.cpp
|
deb36f24f43fdbd83c5c61d40b9a32d091ac2a37 |
|
06-Oct-2017 |
Vishnu Nair <vishnun@google.com> |
Support priority based dumpsys in surface flinger Call dump with no args when called with CRITICAL priority. Register service with support for critical priority dumps. BUG: 31774394 Test: adb bugreport ~/tmp.zip Test: adb shell dumpsys --priority CRITICAL Test: mmm -j32 frameworks/native/services/utils && \ adb sync data && adb shell /data/nativetest/prioritydumper_test/prioritydumper_test && \ adb shell /data/nativetest64/prioritydumper_test/prioritydumper_test && \ printf "\n\n#### ALL TESTS PASSED ####\n" Change-Id: I29140808493eb7c8805bfa338ab9a335154862b4
/frameworks/native/services/utils/PriorityDumper.cpp
|
33fd3be6088bfacaf659108bad67d24103494aa1 |
|
27-Sep-2017 |
Vishnu Nair <vishnun@google.com> |
Added PriorityDump helper util Utility function to help services dump data in buckets (CRITICAL, HIGH, NORMAL). Function parses --dump_priority argument to select which sections to dump. BUG: 27429130 Test: mmm -j32 frameworks/native/services/utils && \ adb sync data && adb shell /data/nativetest/prioritydumper_test/prioritydumper_test && \ adb shell /data/nativetest64/prioritydumper_test/prioritydumper_test && \ printf "\n\n#### ALL TESTS PASSED ####\n" Change-Id: Ic529e136acfa4df82653b6b648cd540dada3ee96
/frameworks/native/services/utils/PriorityDumper.cpp
|