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

Skip to content
Commit 64b15b7b authored by Xiao Ma's avatar Xiao Ma
Browse files

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
parent e89c5ffd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment