gatt: Extend dumpsys information
With this patch we are adding gatt state history along with information on the gatt if holders. This will help to debug which applications are keeping ACL connects. e.g. logs: stack::gatt last 78 tcb state transitions: stack::gatt 2024-08-09 14:51:21.415 xx:xx:xx:xx:9d:0b, BT_TRANSPORT_LE, state: GATT_CH_OPEN, No ACL holders stack::gatt 2024-08-09 14:51:21.419 xx:xx:xx:xx:9d:0b, BT_TRANSPORT_LE, state: GATT_CH_OPEN, ACL holders gatt_if:13, stack::gatt 2024-08-09 15:00:45.024 xx:xx:xx:xx:9d:0b, BT_TRANSPORT_LE, state: GATT_CH_CLOSE, ACL holders gatt_if:13, stack::gatt 2024-08-09 15:00:53.335 xx:xx:xx:xx:13:0d, BT_TRANSPORT_LE, state: GATT_CH_OPEN, No ACL holders stack::gatt 2024-08-09 15:00:53.341 xx:xx:xx:xx:13:0d, BT_TRANSPORT_LE, state: GATT_CH_OPEN, ACL holders gatt_if:12, stack::gatt 2024-08-09 15:00:54.314 xx:xx:xx:xx:13:0d, BT_TRANSPORT_LE, state: GATT_CH_CLOSE, ACL holders gatt_if:12, Also some additional logs are added to logcat on the same matter Bug: 331775328 Test: mmm packages/modules/Bluetooth Flag: EXEMPT, logging only code Change-Id: I13aaa33a56a3a54c095ff292fa671740372251d1
Loading
Please register or sign in to comment