Trace processor: add trace_metadata table
Introduces a table to store trace metadata. The list of possible entries
currently consists of chrome benchmark metadata (like benchmark name,
start time, etc), but it's possible to add other items.
Bug: 132682848
Change-Id: Id5efc1ffbfb4a93ec7f9a4319055d1b018da1215
diff --git a/src/trace_processor/BUILD.gn b/src/trace_processor/BUILD.gn
index 5e21827..cfa4a8e 100644
--- a/src/trace_processor/BUILD.gn
+++ b/src/trace_processor/BUILD.gn
@@ -84,6 +84,9 @@
"heap_profile_tracker.h",
"instants_table.cc",
"instants_table.h",
+ "metadata.h",
+ "metadata_table.cc",
+ "metadata_table.h",
"null_term_string_view.h",
"process_table.cc",
"process_table.h",
@@ -234,6 +237,7 @@
"filtered_row_index_unittest.cc",
"ftrace_utils_unittest.cc",
"heap_profile_tracker_unittest.cc",
+ "metadata_table_unittest.cc",
"null_term_string_view_unittest.cc",
"process_table_unittest.cc",
"process_tracker_unittest.cc",