DescriptionFixed GPU tracing so the categories do not get mixed.
Because of how the chromium tracing macros work, it is not possible
to use the same line for multiple tracing categories. I have moved
the GPU categories to a separate trace arg "gl_categories" instead,
and changed the trace categories back to gpu.device and gpu.service.
GroupPushMarkerEXT calls can no longer be disabled by their category.
We currently use these to trace top level GPU traces which are
constructed before the tracing categories are initialized.
There were also some other issues related to having multiple channels
in the GPU Tracer. Now functions that query the current trace take
in a channel argument as well to differentiate the channels.
R=vmiura@chromium.org
BUG=None
TEST=trybots
Committed: https://crrev.com/4bb4328938b0bfa4d2fa59403ce3de5639952e16
Cr-Commit-Position: refs/heads/master@{#310426}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Removed TraceCHROMIUM async traces #Patch Set 3 : Added GPU Tracer unit tests #Patch Set 4 : rebase #Patch Set 5 : Mock GPU Tracer less intrusively #Patch Set 6 : Also export GPUTracer #
Total comments: 1
Patch Set 7 : Rebased and merged #Patch Set 8 : Reverted some unnecessary changes #
Messages
Total messages: 17 (3 generated)
|