Skip to content

Commit

Permalink
Attempt to fix the perfetto build error
Browse files Browse the repository at this point in the history
/__w/kokkos-tools/kokkos-tools/profiling/perfetto-connector/perfetto/perfetto.h:7153:35: error: 'BUILTIN_CLOCK_UNKNOWN' was not declared in this scope
 7153 |   BuiltinClock primary_trace_clock_{};
  • Loading branch information
crtrott committed Jun 20, 2024
1 parent 20f1216 commit 779a48c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion profiling/perfetto-connector/perfetto/perfetto.h
Original file line number Diff line number Diff line change
Expand Up @@ -6318,7 +6318,16 @@ enum TraceConfig_LockdownModeOperation : int;
enum TraceConfig_CompressionType : int;
enum TraceConfig_StatsdLogging : int;
enum TraceConfig_TriggerConfig_TriggerMode : int;
enum BuiltinClock : int;
enum BuiltinClock : int {
BUILTIN_CLOCK_UNKNOWN = 0,
BUILTIN_CLOCK_REALTIME = 1,
BUILTIN_CLOCK_REALTIME_COARSE = 2,
BUILTIN_CLOCK_MONOTONIC = 3,
BUILTIN_CLOCK_MONOTONIC_COARSE = 4,
BUILTIN_CLOCK_MONOTONIC_RAW = 5,
BUILTIN_CLOCK_BOOTTIME = 6,
BUILTIN_CLOCK_MAX_ID = 63,
};
enum DataSourceConfig_SessionInitiator : int;
enum ChromeConfig_ClientPriority : int;
enum TraceConfig_BufferConfig_FillPolicy : int;
Expand Down

0 comments on commit 779a48c

Please sign in to comment.