diff options
author | Siarhei Vishniakou <svv@google.com> | 2022-07-01 13:38:51 -0700 |
---|---|---|
committer | Siarhei Vishniakou <svv@google.com> | 2022-07-01 22:56:09 +0000 |
commit | f02724cd57aa5e339d3fc215f8d527a80a091e8a (patch) | |
tree | 505abfefcdb14f0d27a18750cce1a9b7bc249b00 | |
parent | 75830e7b1d21b05546c22fed85f227f8fb4c09f6 (diff) | |
download | native-f02724cd57aa5e339d3fc215f8d527a80a091e8a.tar.gz |
Dump IInputProcessor when dump is called
We need to dump this process because it may become unresponsive.
Currently, it's missing from the dumps.
After this change, I'm finding the following data inside bugreport:
----- Waiting Channels: pid 1794 at 2022-07-01 21:08:01.751449995+0000 -----
Cmd line: /vendor/bin/hw/android.hardware.input.processor-service
sysTid=1794 binder_wait_for_work
sysTid=1804 futex_wait_queue_me
----- end 1794 -----
Bug: 237347585
Bug: 237322365
Test: adb bugreport
Change-Id: Id5a1a2cba2131e58a4eadd4492f9d1c82de4d746
Merged-In: Id5a1a2cba2131e58a4eadd4492f9d1c82de4d746
(cherry picked from commit a32c371fa7caaa8744b98778f7a39524c49d33dd)
-rw-r--r-- | libs/dumputils/dump_utils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/dumputils/dump_utils.cpp b/libs/dumputils/dump_utils.cpp index 0f1a02a553..3551a8fd0a 100644 --- a/libs/dumputils/dump_utils.cpp +++ b/libs/dumputils/dump_utils.cpp @@ -86,6 +86,7 @@ static const char* hidl_hal_interfaces_to_dump[] { /* list of hal interface to dump containing process during native dumps */ static const std::vector<std::string> aidl_interfaces_to_dump { "android.hardware.camera.provider.ICameraProvider", + "android.hardware.input.processor.IInputProcessor", }; /* list of extra hal interfaces to dump containing process during native dumps */ |