• Michael Spang's avatar
    chromecast: trace.py: Add system tracing support · db45aa6f
    Michael Spang authored
    This adds supports for system tracing via trace.py. It is disabled by
    default but can be enable via the --systrace parameter. Requesting
    system tracing does no harm on devices where it is not available.
    
    This requires switching the way data is read back over the websocket, as
    the "ReportEvents" style cannot return data from secondary tracing agents
    such as CastTracingAgent.
    
    BUG=786091
    
    Change-Id: I8b5b39c047ae03073d90d462a4febf1770a8ccd5
    Reviewed-on: https://chromium-review.googlesource.com/804559
    Commit-Queue: Michael Spang <spang@chromium.org>
    Reviewed-by: default avatarLuke Halliwell <halliwell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#521750}
    db45aa6f
tracinglib.py 8.22 KB