fix: extending tracing startRecording API to take a full tracing config (#16157)

This allows memory-infra to be traced correctly.
Fixes #12506.
This commit is contained in:
trop[bot] 2018-12-20 08:29:20 -07:00 committed by Shelley Vohr
parent c74d7b3c33
commit d9afe43cee
5 changed files with 194 additions and 40 deletions

View file

@ -0,0 +1,9 @@
# TraceConfig Object
* `included_categories` String[] (optional)
* `excluded_categories` String[] (optional)
* `memory_dump_config` Object (optional)
See an example in the [Chromium docs][1].
[1]: https://chromium.googlesource.com/chromium/src/+/master/docs/memory-infra/memory_infra_startup_tracing.md#the-advanced-way