Use custom proto instead of debug string for perfetto traces

The strongly typed protos have two advantages:

* They have a more compact encoding.
* They can more easiliy be classified as privacy safe.

Tested: recorded perfetto trace with config
```
buffers {
  size_kb: 100024
  fill_policy: RING_BUFFER
}
data_sources {
  config {
    name: "track_event"
    track_event_config {
      disabled_categories:"*"
      enabled_categories: "servicemanager"
    }
  }
}
```
Bug: 348584514

Change-Id: Ia21ffacdfa172bdde578cca00836fe243e25ed81
1 file changed