blob: 3853a56c6ff3188b54070b9d053e180810bd6c74 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- third_party/perfetto/src/base/watchdog_posix.cc.orig 2021-04-14 01:15:26 UTC
+++ third_party/perfetto/src/base/watchdog_posix.cc
@@ -114,8 +114,9 @@ void Watchdog::Start() {
} else {
PERFETTO_DCHECK(!enabled_);
-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
- PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
+#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
+ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \
+ PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD)
// Kick the thread to start running but only on Android or Linux.
enabled_ = true;
thread_ = std::thread(&Watchdog::ThreadMain, this);
|