diff options
author | David Anderson <dvander@google.com> | 2019-09-09 17:57:06 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2019-10-02 15:15:59 -0700 |
commit | d614ecaba6be911c419eda07cf34042190dad749 (patch) | |
tree | b55ade663ddcc906462540c98ee5df23ef13db57 /gsi_service.h | |
parent | 0ceb4fec5a71102b713b9dd949cba6bb09f97813 (diff) | |
download | gsid-d614ecaba6be911c419eda07cf34042190dad749.tar.gz |
Add a binder call to retrieve device-mapper tables for diagnostics.
The binder call is exposed through "gsid dump-device-mapper". Since this
requires linking to libgsid, also take the opportunity to move gsid
dependencies to static linkage.
Bug: 140204341
Test: dumpstate
Change-Id: I8858fde00cd5159be7794b22791fe14914af9a1c
Diffstat (limited to 'gsi_service.h')
-rw-r--r-- | gsi_service.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gsi_service.h b/gsi_service.h index 1df4aeb..9b4d4a0 100644 --- a/gsi_service.h +++ b/gsi_service.h @@ -76,6 +76,7 @@ class GsiService : public BinderService<GsiService>, public BnGsiService { binder::Status wipeGsiUserdata(int* _aidl_return) override; binder::Status openImageService(const std::string& prefix, android::sp<IImageService>* _aidl_return) override; + binder::Status dumpDeviceMapperDevices(std::string* _aidl_return) override; // This is in GsiService, rather than GsiInstaller, since we need to access // it outside of the main lock which protects the unique_ptr. |