commit | 049d9f31d9d0311ee8af9e7e0f1d5b60b6c126bc | [log] [tgz] |
---|---|---|
author | Ryan Zuklie <rzuklie@google.com> | Fri Mar 10 16:09:03 2023 -0800 |
committer | Ryan Zuklie <rzuklie@google.com> | Tue Mar 14 17:02:40 2023 -0700 |
tree | 2eb99502225ef5314663c9178c7a1e177febfe69 | |
parent | 412ffe7436b3c493b878483a2cd26e988f3c8700 [diff] |
Add interning support to NetworkTracing Interning is a feature Perfetto offers. You can store details in the intern table and associate it with an id. Then, each trace packet can reference just the id rather than the full proto contents. In our case, we already identify unique contexts, so all we need to do is give them unique IDs and record that instead. Bug: 246985031 Test: atest libnetworkstats_test Change-Id: I84f7673bc41b89390c02b8ec5460adfadbb36173