14 lines
478 B
C++
14 lines
478 B
C++
$NetBSD$
|
|
|
|
--- base/profiler/sampling_profiler_thread_token.cc.orig 2020-07-08 21:40:31.000000000 +0000
|
|
+++ base/profiler/sampling_profiler_thread_token.cc
|
|
@@ -7,7 +7,7 @@
|
|
namespace base {
|
|
|
|
SamplingProfilerThreadToken GetSamplingProfilerCurrentThreadToken() {
|
|
-#if defined(OS_ANDROID) || defined(OS_LINUX)
|
|
+#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_BSD)
|
|
return {PlatformThread::CurrentId(), pthread_self()};
|
|
#else
|
|
return {PlatformThread::CurrentId()};
|