commit | 5e216985e0562d11e7a2bdaccd59984b48058d90 | [log] [tgz] |
---|---|---|
author | Igor Murashkin <iam@google.com> | Thu Oct 17 14:11:44 2019 -0700 |
committer | Igor Murashkin <iam@google.com> | Thu Oct 17 14:14:15 2019 -0700 |
tree | feb4b19c3722f502db2ba21111eb4c96e72f819f | |
parent | 749d3d0397f0d3712606d37b1623c4397bd7d972 [diff] |
perfetto: Keep a ring buffer of traces per-app Use the property 'iorapd.perfetto.max_traces' to determine how many maximum traces there should be per-app. Excess traces are deleted from disk and db. In addition, associate each new perfetto_trace.pb in the raw_traces table with the app_launch_histories table. Bug: 141378186 Test: manual Change-Id: I4e9d2e01cf5ac1360c55de5bf65c554fb865fa4c