tp: multi-machine: insert machine ID to storage tables
This CL retrieves machine_id from TraceProcessorContext for storage
table insertion by trackers (ProcessTracker, TrackTracker, etc.).
The ProcessTracker is updated to use the inserted row number as the
utid/upid of the swapper thread, as the assumption that swapper's
utid/upid is 0 will not hold in injesting a multi-machine trace data
file.
Bug: 284258446
Change-Id: I68e0989df9762dd6d2a4807a75b8b51b73e9f85c
diff --git a/Android.bp b/Android.bp
index 585df73..85ca01c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -11410,6 +11410,7 @@
"src/trace_processor/importers/common/flow_tracker.cc",
"src/trace_processor/importers/common/global_args_tracker.cc",
"src/trace_processor/importers/common/jit_cache.cc",
+ "src/trace_processor/importers/common/machine_tracker.cc",
"src/trace_processor/importers/common/mapping_tracker.cc",
"src/trace_processor/importers/common/metadata_tracker.cc",
"src/trace_processor/importers/common/process_tracker.cc",