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

Unified Diff: tools/telemetry/telemetry/core/timeline/sample.py

Issue 19772005: [telemetry] Timeline model cleanups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move things around and update docs Created 7 years, 5 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
Index: tools/telemetry/telemetry/core/timeline/sample.py
diff --git a/tools/telemetry/telemetry/core/timeline/tracing/sample.py b/tools/telemetry/telemetry/core/timeline/sample.py
similarity index 88%
rename from tools/telemetry/telemetry/core/timeline/tracing/sample.py
rename to tools/telemetry/telemetry/core/timeline/sample.py
index 5f7f672d9d478593812a5da16b9c9df1b3d54550..7c8407e8f34bb784551d1c0107b851cc89c4fd8e 100644
--- a/tools/telemetry/telemetry/core/timeline/tracing/sample.py
+++ b/tools/telemetry/telemetry/core/timeline/sample.py
@@ -15,5 +15,4 @@ class Sample(timeline_event.TimelineEvent):
'''
def __init__(self, category, name, timestamp, args=None, parent=None):
super(Sample, self).__init__(
- name, timestamp, 0, args=args, parent=parent)
- self.category = category
+ category, name, timestamp, 0, args=args, parent=parent)

Powered by Google App Engine
This is Rietveld 408576698