aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-services_tracing_public_cpp_trace__startup.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-services_tracing_public_cpp_trace__startup.cc')
-rw-r--r--devel/electron37/files/patch-services_tracing_public_cpp_trace__startup.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-services_tracing_public_cpp_trace__startup.cc b/devel/electron37/files/patch-services_tracing_public_cpp_trace__startup.cc
new file mode 100644
index 000000000000..5dd64a209786
--- /dev/null
+++ b/devel/electron37/files/patch-services_tracing_public_cpp_trace__startup.cc
@@ -0,0 +1,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