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

Unified Diff: tracing/tracing/extras/importer/trace_event_importer.html

Issue 2013553002: [Tracing] Export TraceConfig to model.metadata (Closed) Base URL: https://github.com/catapult-project/catapult@master
Patch Set: Address Fadi's comment 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 | tracing/tracing/extras/importer/trace_event_importer_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/extras/importer/trace_event_importer.html
diff --git a/tracing/tracing/extras/importer/trace_event_importer.html b/tracing/tracing/extras/importer/trace_event_importer.html
index a73dc467e73fc6abee756af952fa0ea252a01c2e..1550ce25d9fe1a5fd2e650faea62c149fd5b2f11 100644
--- a/tracing/tracing/extras/importer/trace_event_importer.html
+++ b/tracing/tracing/extras/importer/trace_event_importer.html
@@ -584,6 +584,9 @@ tr.exportTo('tr.e.importer', function() {
} else {
this.importObjectTypeNameMap_(objectTypeNameMap, event.pid);
}
+ } else if (event.name === 'TraceConfig') {
+ this.model_.metadata.push(
+ {name: 'TraceConfig', value: event.args.value});
} else {
this.model_.importWarning({
type: 'metadata_parse_error',
« no previous file with comments | « no previous file | tracing/tracing/extras/importer/trace_event_importer_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698