aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Khokhlov <khokhlov@google.com>2023-01-31 09:40:49 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-01-31 09:40:49 +0000
commit0d20e8014d714eef45a681ba765579f8875daf66 (patch)
treef7461f809bed4d51ff13864d4664c417ba6d921e
parent6ca66280d6c807c758dfbde4c9db42cf30ed33ca (diff)
parentab54756cbee7a6da8f138149eef58a38d24ba689 (diff)
downloadperfetto-0d20e8014d714eef45a681ba765579f8875daf66.tar.gz
Merge "Remove unnecessary time.h header from track_event.h"
-rw-r--r--include/perfetto/tracing/track_event.h1
-rw-r--r--src/tracing/test/api_integrationtest.cc1
-rw-r--r--test/stress_test/stress_test.cc1
3 files changed, 2 insertions, 1 deletions
diff --git a/include/perfetto/tracing/track_event.h b/include/perfetto/tracing/track_event.h
index 265192775..7366b8508 100644
--- a/include/perfetto/tracing/track_event.h
+++ b/include/perfetto/tracing/track_event.h
@@ -17,7 +17,6 @@
#ifndef INCLUDE_PERFETTO_TRACING_TRACK_EVENT_H_
#define INCLUDE_PERFETTO_TRACING_TRACK_EVENT_H_
-#include "perfetto/base/time.h"
#include "perfetto/tracing/internal/track_event_data_source.h"
#include "perfetto/tracing/internal/track_event_internal.h"
#include "perfetto/tracing/internal/track_event_macros.h"
diff --git a/src/tracing/test/api_integrationtest.cc b/src/tracing/test/api_integrationtest.cc
index 0e131dd2b..f0f2f5d13 100644
--- a/src/tracing/test/api_integrationtest.cc
+++ b/src/tracing/test/api_integrationtest.cc
@@ -45,6 +45,7 @@
#include "src/tracing/test/api_test_support.h"
#include "src/tracing/test/tracing_module.h"
+#include "perfetto/base/time.h"
#include "perfetto/protozero/scattered_heap_buffer.h"
#include "perfetto/tracing/core/data_source_descriptor.h"
#include "perfetto/tracing/core/trace_config.h"
diff --git a/test/stress_test/stress_test.cc b/test/stress_test/stress_test.cc
index 513b4bba3..213017ebe 100644
--- a/test/stress_test/stress_test.cc
+++ b/test/stress_test/stress_test.cc
@@ -27,6 +27,7 @@
#include "perfetto/base/build_config.h"
#include "perfetto/base/compiler.h"
+#include "perfetto/base/time.h"
#include "perfetto/ext/base/ctrl_c_handler.h"
#include "perfetto/ext/base/file_utils.h"
#include "perfetto/ext/base/scoped_file.h"