diff options
| author | Xiao Ma <xiaom@google.com> | 2019-03-20 11:33:15 +0900 |
|---|---|---|
| committer | Xiao Ma <xiaom@google.com> | 2019-04-05 20:43:44 +0900 |
| commit | 64b15b7b58533867a1aaa6732ec8e00dd452db46 (patch) | |
| tree | 755988f75ccb461101e1920a33941d029f5736c5 /server/InterfaceController.cpp | |
| parent | e89c5ffd23c4b58f5e5751b0a4942f894ddfba1d (diff) | |
optimize netd native binder IPC logging callback.
- improve the duration time precision
- add exception code, message and string information
- remove deprecated glog entry for few left functions
logs looks like:
'''
networkAddRoute("::/0", "wlan0", 100, "fe80::fa00:4:fd00:1") <0.15ms>
setTcpRWmemorySize("524288 2097152 8388608", "262144 524288 4194304") <0.21ms>
trafficSetNetPermForUids(3, [1001,1002,1013,1041,1047,10009,10071,10072]) <0.02ms>
firewallReplaceUidChain("fw_standby", "false", []) -> {"true"} <0.03ms>
if specific service exception occurs, also log the exception error code, message and
exception string as below:
networkAddRoute(100, "wlan0", "2401:fa00:4:fd00::/64", "") ->
ServiceSpecificException(64, "Machine is not on the network") <0.14ms>
'''
Bug: 128833454
Test: m -j
Change-Id: I2d9aa777d997452c0ffe195d2e588ff30d0bc500
Diffstat (limited to 'server/InterfaceController.cpp')
0 files changed, 0 insertions, 0 deletions
