DescriptionAdd in some infrastructure to make tracing of logical requests broken over async callbacks easier.
Create a concept of a TraceContext that holds a current Tracer which can be
used to create a timeseries sequence of events.
This implementation extends the functionality of RunnableMethod and
NewRunnableMethod() to create a parallel TracedMethod, and NewTracedMethod().
These new Traced methods methods and types know how to propogate the current
TraceContext to create a logical sequence of annotations through the servicing
of one logical action.
Currently, the code is controlled via define macro which changes
NewTracedMethod back into NewRunnableMethod if the hook is disabled.
BUG=52883
TEST=compiles, and client can connect to host.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57992
Patch Set 1 #
Total comments: 30
Patch Set 2 : Refactored. #Patch Set 3 : Tracer updated! #Patch Set 4 : Address comments from Andrew. #Patch Set 5 : remove stale todo. #
Total comments: 5
Patch Set 6 : Fix the type. #Patch Set 7 : More comments. #Patch Set 8 : sent #
Messages
Total messages: 7 (0 generated)
|