aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-services_tracing_public_cpp_trace__startup.cc
blob: 5dd64a209786b895b5a1ded6a28b1fb2766357d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- services/tracing/public/cpp/trace_startup.cc.orig	2025-06-30 07:04:30 UTC
+++ services/tracing/public/cpp/trace_startup.cc
@@ -66,7 +66,7 @@ void EnableStartupTracingIfNeeded(bool with_thread) {
   // Create the PerfettoTracedProcess.
   if (with_thread) {
     g_tracing_with_thread = true;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
     PerfettoTracedProcess::MaybeCreateInstanceWithThread(
         /*will_trace_thread_restart=*/true);
 #else