commit | 6aa4cca1022384066cc1eb2a6c9572cf819f0c54 | [log] [tgz] |
---|---|---|
author | Ryan Zuklie <rzuklie@google.com> | Thu Mar 09 14:25:37 2023 -0800 |
committer | Ryan Zuklie <rzuklie@google.com> | Tue Mar 14 09:23:39 2023 -0700 |
tree | 98dccb6e35b495adc4e36343066fe9695e07befb | |
parent | d0e5931f956f065d4e071b61e1098db8cc234e50 [diff] |
Add event bundling in NetworkTraceHandler Bundling groups PacketTraces by their various attributes (e.g. uid, tag, ports) and outputs a single Perfetto TracePacket per group. Rather than repeat this information many times, it's only written once. In most cases, this should reduce the trace size by 5x. Bug: 246985031 Test: atest libnetworkstats_test Change-Id: Ia9cb163fb4c673abdab8d442576cf4b12a98dbc6