trace_processor: fix IWYU includes
Some includes are not necessary and broke
windows builds.
Change-Id: I03fb78072a6001b42cecbf35869c96bbb518ad7d
diff --git a/src/trace_processor/trace_processor_impl.cc b/src/trace_processor/trace_processor_impl.cc
index 4d78b9d..ea0764c 100644
--- a/src/trace_processor/trace_processor_impl.cc
+++ b/src/trace_processor/trace_processor_impl.cc
@@ -49,6 +49,7 @@
#include "src/trace_processor/types/variadic.h"
#include "protos/perfetto/trace/perfetto/perfetto_metatrace.pbzero.h"
+#include "protos/perfetto/trace/trace.pbzero.h"
#include "protos/perfetto/trace/trace_packet.pbzero.h"
#include "src/trace_processor/metrics/metrics.descriptor.h"
@@ -828,7 +829,7 @@
auto* evt = packet->set_perfetto_metatrace();
evt->set_event_name(record->event_name);
evt->set_event_duration_ns(record->duration_ns);
- evt->set_thread_id(static_cast<uint32_t>(base::GetThreadId()));
+ evt->set_thread_id(1); // Not really important, just required for the ui.
if (record->args_buffer_size == 0)
return;