fix: extend tracing startRecording API to take a full tracing config (#13914)

This allows memory-infra to be traced correctly.
Fixes #12506.
This commit is contained in:
Zac Walker 2018-12-20 13:11:17 +01:00 committed by Alexey Kuzmin
parent 4ff7976060
commit 51cfb5cff1
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