$OpenBSD: patch-services_tracing_public_cpp_perfetto_perfetto_config_cc,v 1.3 2021/04/01 10:24:45 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
@@ -79,7 +79,7 @@ void AddDataSourceConfigs(
   // Capture system trace events if supported and enabled. The datasources will
   // only emit events if system tracing is enabled in |chrome_config|.
   if (!privacy_filtering_enabled) {
-#if defined(OS_CHROMEOS) || (BUILDFLAG(IS_CHROMECAST) && defined(OS_LINUX))
+#if defined(OS_CHROMEOS) || (BUILDFLAG(IS_CHROMECAST) && defined(OS_LINUX)) || defined(OS_BSD)
     if (source_names.empty() ||
         source_names.count(tracing::mojom::kSystemTraceDataSourceName) == 1) {
       AddDataSourceConfig(perfetto_config,
