summaryrefslogtreecommitdiff
path: root/libs/battery/MultiStateCounterTest.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2024-03-27 00:03:05 +0000
committer Steven Moreland <smoreland@google.com> 2024-03-27 00:44:20 +0000
commit5759db0412d17a0b5f3ebfb67cb1cc04f9fc4b2c (patch)
tree4108d6d45266788a6d6e0557f2f2d8b12f5f2cbc /libs/battery/MultiStateCounterTest.cpp
parent315a0f14a6cbfbb14036ddf9a38677e30e48656f (diff)
servicemanager: include caller info in logs
In cases like b/329039146, it can be difficult to understand where spam is coming from, because we only have the logs. This adds caller information to servicemanager logs, so that we can easily identify what is causing an issue, even if we don't have logs. Btw - passing around a calling context like this, instead of referencing thread locals, is how I think we should do all ACL with binder, but that's another story. Example log output: 03-27 00:32:02.242 0 0 I servicemanager: Caller(pid=2145,uid=1001,sid=u:r:radio:s0) Found android.hardware.radio.data.IRadioData/slot1 in device VINTF manifest. Bug: N/A Test: N/A Change-Id: Iea45e4d22f28f28592eb73a129117204c6c8e814
Diffstat (limited to 'libs/battery/MultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions