blob: 4f75bedf94abe49f50f40d6c47c3ccb4c6b8320d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc.orig 2021-01-07 00:36:40 UTC
+++ services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc
@@ -546,7 +546,7 @@ void TracingSamplerProfiler::TracingProfileBuilder::Sa
// static
void TracingSamplerProfiler::MangleModuleIDIfNeeded(std::string* module_id) {
-#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
// Linux ELF module IDs are 160bit integers, which we need to mangle
// down to 128bit integers to match the id that Breakpad outputs.
// Example on version '66.0.3359.170' x64:
|