1 --- src/3rdparty/chromium/base/tracing/trace_time.cc.orig	2025-08-15 18:30:00 UTC
2 +++ src/3rdparty/chromium/base/tracing/trace_time.cc
3 @@ -8,12 +8,16 @@
4  #include "build/build_config.h"
5  #include "third_party/perfetto/include/perfetto/base/time.h"
6 
7 +#if BUILDFLAG(IS_FREEBSD)
8 +#define CLOCK_BOOTTIME CLOCK_UPTIME
9 +#endif
10 +
11  namespace base::tracing {
12 
13  int64_t TraceBootTicksNow() {
14    // On Windows and Mac, TRACE_TIME_TICKS_NOW() behaves like boottime already.
15  #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
16 -    BUILDFLAG(IS_FUCHSIA)
17 +    BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
18    struct timespec ts;
19    int res = clock_gettime(CLOCK_BOOTTIME, &ts);
20    if (res != -1) {
21