• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1packet {
2  incremental_state_cleared: true
3  trusted_packet_sequence_id: 1
4  timestamp: 0
5  interned_data {
6    mapping_paths {
7      iid: 1
8      str: "liblib.so"
9    }
10    mapping_paths {
11        iid: 2
12        str: "libmonochrome_64.so"
13    }
14    build_ids {
15      iid: 2
16      str: "build-id"
17    }
18    # This build id has to have a specific format to test ELF->Breakpad
19    # demangling. Taken from
20    # test/trace_processor/profiling/heap_profile_no_symbols.textproto
21    build_ids {
22        iid: 3
23        str: "\x7f\x07\x15\xc2\x86\xf8\xb1\x6c\x10\xe4\xad\x34\x9c\xda\x3b\x9b\x56\xc7\xa7\x73"
24    }
25    mappings {
26        iid: 1
27        path_string_ids: 1
28        build_id: 2
29    }
30    mappings {
31        iid: 2
32        path_string_ids: 2
33        build_id: 3
34    }
35    unsymbolized_source_locations {
36        iid: 1
37        mapping_id: 1
38        rel_pc: 123
39    }
40    unsymbolized_source_locations {
41        iid: 2
42        mapping_id: 2
43        rel_pc: 234
44    }
45  }
46}
47# Track for slice begin/end events.
48packet {
49  timestamp: 0
50  trusted_packet_sequence_id: 1
51  track_descriptor {
52    uuid: 12345
53    thread {
54      pid: 123
55      tid: 345
56    }
57    parent_uuid: 0
58    chrome_thread {
59      thread_type: THREAD_POOL_FG_WORKER
60    }
61  }
62}
63
64# Slice begin with mojo arg
65packet {
66  trusted_packet_sequence_id: 1
67  timestamp: 10
68  track_event {
69    track_uuid: 12345
70    categories: "cat1"
71    type: 1
72    name: "slice1"
73    chrome_mojo_event_info {
74        mojo_interface_method_iid: 1
75    }
76  }
77}
78
79# Another slice begin with mojo arg
80packet {
81  trusted_packet_sequence_id: 1
82  timestamp: 11
83  track_event {
84    track_uuid: 12345
85    categories: "cat1"
86    type: 1
87    name: "slice2"
88    chrome_mojo_event_info {
89        mojo_interface_method_iid: 2
90    }
91  }
92}
93
94
95# Second slice end
96packet {
97  trusted_packet_sequence_id: 1
98  timestamp: 6000
99  track_event {
100    track_uuid: 12345
101    categories: "cat1"
102    name: "slice2"
103    type: 2
104  }
105}
106
107# First slice end
108
109packet {
110  trusted_packet_sequence_id: 1
111  timestamp: 6001
112  track_event {
113    track_uuid: 12345
114    categories: "cat1"
115    name: "slice1"
116    type: 2
117  }
118}