DescriptionChange TracingBackend.Stop to return the trace data from last tracing run.
The bug 421097 was caused by the refactoring to disable trace
nesting call feature. Since trace-profiler makes the call to
StartTracing earlier than measurement and makes the call top
StopTracing after measurement has called StopTracing, it
raises TracingNotRunningException().
This fixes the bug by modifying the behavior of
StopTracing() slightly to return the trace data of the last
run. Note that trace-profiler itself does not provide a
good way to get useful trace data (the measurement uses
tracing with different overhead level without knowing it).
The long term fix should be moving all trace-based
measurement to timeline_based_measurement.
BUG=421097
Committed: https://crrev.com/48f92772739028b8bc5bca9302e0d51dd6fa9097
Cr-Commit-Position: refs/heads/master@{#298992}
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|