chromecast: trace.py: Switch to new tracing config style
The tracing request format currently in use is deprecated and does not support enabling some features such as system tracing. Switch to the new format. This requires us to tokenize the category filter ourselves; this is done using the same algorithm as chrome. This also fixes a regression where the category filter was set to '"*"' (double quotes included) which does not work properly, disabling all events. We should use the empty string, which simply means to apply the defaults. The android backend appears to be prepared to handle this as well (mapping it to "_DEFAULT_CHROME_CATEGORIES"). BUG=786091 Change-Id: Ic60a3db7f4decc5ee046ce50bfc58d3c22211558 Reviewed-on: https://chromium-review.googlesource.com/804857Reviewed-by:Luke Halliwell <halliwell@chromium.org> Commit-Queue: Michael Spang <spang@chromium.org> Cr-Commit-Position: refs/heads/master@{#521417}
Showing
Please register or sign in to comment