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

Unified Diff: telemetry/telemetry/internal/platform/tracing_agent/battor_tracing_agent.py

Issue 1996343002: Revert of [Telemetry] Change how trace_data detects if data being added is valid. (Closed) Base URL: git@github.com:catapult-project/catapult@master
Patch Set: Created 4 years, 7 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 | « no previous file | telemetry/telemetry/timeline/trace_data.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/platform/tracing_agent/battor_tracing_agent.py
diff --git a/telemetry/telemetry/internal/platform/tracing_agent/battor_tracing_agent.py b/telemetry/telemetry/internal/platform/tracing_agent/battor_tracing_agent.py
index b46dbba30274e782340513957cb4976a6153e59f..c66474fd25d810cd770238de5258da5cf78b9402 100644
--- a/telemetry/telemetry/internal/platform/tracing_agent/battor_tracing_agent.py
+++ b/telemetry/telemetry/internal/platform/tracing_agent/battor_tracing_agent.py
@@ -101,4 +101,5 @@
def CollectAgentTraceData(self, trace_data_builder, timeout=None):
data = '\n'.join(self._battor.CollectTraceData(timeout=timeout))
- trace_data_builder.AddEventsTo(trace_data.BATTOR_TRACE_PART, data)
+ trace_data_builder.AddEventsTo(
+ trace_data.BATTOR_TRACE_PART, data, as_string=True)
« no previous file with comments | « no previous file | telemetry/telemetry/timeline/trace_data.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698