commit | 4e92da06faaa28e9b435d9d86d2b98b7b034eec2 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Sat Feb 06 00:06:05 2021 +0900 |
committer | Maciej Żenczykowski <maze@google.com> | Wed Feb 10 04:43:03 2021 +0000 |
tree | 89d8fc77b525b0f5476f485ad9906232715e714d | |
parent | 555472a186db381def14d2f27c8175d93418ff61 [diff] |
Dump counters in "dumpsys tethering bpf". This CL adds the counters collected by the tethering programs to the output of "dumpsys tethering bpf". The counter names are fetched by JNI code at startup and then read by the debugging code on demand. Example from my device: Forwarding errors: TCP_CONTROL_PACKET: 67 NON_GLOBAL_SRC: 13 NON_GLOBAL_DST: 17 LOCAL_SRC_DST: 7 Test: manual (debug-only code) Change-Id: I7ec7992612556a4bca5f1b6bb52c655d6d870201