Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: tools/telemetry/telemetry/core/platform/profiler/trace_profiler.py

Issue 23902027: telemetry: Make trace profiler work with trace-based benchmarks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add subset test for category filters. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/telemetry/telemetry/core/platform/profiler/strace_profiler.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/platform/profiler/trace_profiler.py
diff --git a/tools/telemetry/telemetry/core/platform/profiler/trace_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/trace_profiler.py
index 122db9cc8fbe0673980f9bf4c4d2dbf2b77ad0e1..62628474ed045e1aef28b09c8bd12f9c22e88ecb 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/trace_profiler.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/trace_profiler.py
@@ -24,11 +24,9 @@ class TraceProfiler(profiler.Profiler):
return True
def CollectProfile(self):
- self._browser_backend.StopTracing()
-
print 'Processing trace...'
- trace_result = self._browser_backend.GetTraceResultAndReset()
+ trace_result = self._browser_backend.StopTracing()
trace_file = '%s.json' % self._output_path
« no previous file with comments | « tools/telemetry/telemetry/core/platform/profiler/strace_profiler.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698