• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Define MONOTONIC as trace clock and expect event timestamps to be imported
2# in MONOTONIC / converted to MONOTONIC if necessary.
3packet {
4  trusted_packet_sequence_id: 1
5  timestamp: 0
6  clock_snapshot {
7    primary_trace_clock: 3  # BUILTIN_CLOCK_MONOTONIC
8    clocks {
9      clock_id: 3  # BUILTIN_CLOCK_MONOTONIC
10      timestamp: 1000
11    }
12    clocks {
13      clock_id: 6  # BUILTIN_CLOCK_BOOTTIME
14      timestamp: 11000
15    }
16  }
17}
18packet {
19  trusted_packet_sequence_id: 1
20  timestamp: 1000
21  timestamp_clock_id: 3  # BUILTIN_CLOCK_MONOTONIC
22  track_event {
23    track_uuid: 1
24    categories: "cat"
25    name: "name1"
26    type: 3
27  }
28}
29packet {
30  trusted_packet_sequence_id: 1
31  timestamp: 12000
32  timestamp_clock_id: 6  # BUILTIN_CLOCK_BOOTTIME
33  track_event {
34    track_uuid: 1
35    categories: "cat"
36    name: "name2"
37    type: 3
38  }
39}