Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e94be36c authored by Steven Moreland's avatar Steven Moreland
Browse files

dumputils: AIDL HALs at parity

Dump AIDL HALs for the HALs we dump in HIDL.

Fixes: 234057757
Test: adb bugreport, contains dumps like:

    ----- pid 432 at 2022-06-25 01:00:05.745196636+0000 -----
    Cmd line: /vendor/bin/hw/android.hardware.health-service.cuttlefish
    ABI: 'x86_64'

    "android.hardwar" sysTid=432
        #00 pc 00000000000b5afa  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+10) (BuildId: 37c263a5647862c4a2c8dd4aad2295eb)
        #01 pc 0000000000013b25  /vendor/bin/hw/android.hardware.health-service.cuttlefish (android::hardware::health::HealthLoop::MainLoop()+229) (BuildId: 86d45bd90b4293d5a3fe483e86b985b0)
        #02 pc 0000000000013c7f  /vendor/bin/hw/android.hardware.health-service.cuttlefish (android::hardware::health::HealthLoop::StartLoop()+47) (BuildId: 86d45bd90b4293d5a3fe483e86b985b0)
        #03 pc 0000000000008496  /vendor/bin/hw/android.hardware.health-service.cuttlefish (main+374) (BuildId: 86d45bd90b4293d5a3fe483e86b985b0)
        #04 pc 0000000000050816  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+86) (BuildId: 37c263a5647862c4a2c8dd4aad2295eb)

    ----- end 432 -----

    ----- Waiting Channels: pid 432 at 2022-06-25 01:00:05.730884116+0000 -----
    Cmd line: /vendor/bin/hw/android.hardware.health-service.cuttlefish

Change-Id: I2fafeccebcfaf1dffb1ea2c6b66f6e6226e22442
parent d882c7fa
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -85,7 +85,19 @@ 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.automotive.audiocontrol.IAudioControl",
        "android.hardware.automotive.evs.IEvsEnumerator",
        "android.hardware.biometrics.face.IBiometricsFace",
        "android.hardware.biometrics.fingerprint.IBiometricsFingerprint",
        "android.hardware.camera.provider.ICameraProvider",
        "android.hardware.drm.IDrmFactory",
        "android.hardware.graphics.allocator.IAllocator",
        "android.hardware.graphics.composer3.IComposer",
        "android.hardware.health.IHealth",
        "android.hardware.neuralnetworks.IDevice",
        "android.hardware.power.IPower",
        "android.hardware.power.stats.IPowerStats",
        "android.hardware.sensors.ISensors",
};

/* list of extra hal interfaces to dump containing process during native dumps */