$OpenBSD: patch-services_tracing_public_cpp_perfetto_perfetto_config_cc,v 1.5 2021/10/29 14:49:42 robert Exp $

Index: services/tracing/public/cpp/perfetto/perfetto_config.cc
--- services/tracing/public/cpp/perfetto/perfetto_config.cc.orig
+++ services/tracing/public/cpp/perfetto/perfetto_config.cc
@@ -124,7 +124,7 @@ void AddDataSourceConfigs(
 // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
 // complete.
 #if BUILDFLAG(IS_CHROMEOS_ASH) || \
-    (BUILDFLAG(IS_CHROMECAST) && defined(OS_LINUX))
+    (BUILDFLAG(IS_CHROMECAST) && (defined(OS_LINUX) || defined(OS_BSD)))
     if (source_names.empty() ||
         source_names.count(tracing::mojom::kSystemTraceDataSourceName) == 1) {
       AddDataSourceConfig(
