diff options
Diffstat (limited to 'www/chromium/files/patch-third__party_perfetto_src_base_utils.cc')
-rw-r--r-- | www/chromium/files/patch-third__party_perfetto_src_base_utils.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/www/chromium/files/patch-third__party_perfetto_src_base_utils.cc b/www/chromium/files/patch-third__party_perfetto_src_base_utils.cc index 65f65894063d..edadada5d95e 100644 --- a/www/chromium/files/patch-third__party_perfetto_src_base_utils.cc +++ b/www/chromium/files/patch-third__party_perfetto_src_base_utils.cc @@ -1,16 +1,16 @@ ---- third_party/perfetto/src/base/utils.cc.orig 2021-04-14 18:43:06 UTC +--- third_party/perfetto/src/base/utils.cc.orig 2021-07-19 18:47:28 UTC +++ third_party/perfetto/src/base/utils.cc -@@ -21,7 +21,8 @@ +@@ -22,7 +22,8 @@ #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) + PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) || \ + PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) - #include <unistd.h> // For getpagesize() and geteuid(). + #include <unistd.h> // For getpagesize() and geteuid() & fork() #endif -@@ -67,8 +68,9 @@ void MaybeReleaseAllocatorMemToOS() { +@@ -68,8 +69,9 @@ void MaybeReleaseAllocatorMemToOS() { uint32_t GetSysPageSize() { ignore_result(kPageSize); // Just to keep the amalgamated build happy. @@ -22,7 +22,7 @@ static std::atomic<uint32_t> page_size{0}; // This function might be called in hot paths. Avoid calling getpagesize() all // the times, in many implementations getpagesize() calls sysconf() which is -@@ -89,7 +91,8 @@ uint32_t GetSysPageSize() { +@@ -90,7 +92,8 @@ uint32_t GetSysPageSize() { uid_t GetCurrentUserId() { #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ |