quilkin_proto/generated/perftools/
profiles.rs1#[derive(Clone, PartialEq, ::prost::Message)]
3pub struct Profile {
4 #[prost(message, repeated, tag = "1")]
5 pub sample_type: ::prost::alloc::vec::Vec<ValueType>,
6 #[prost(message, repeated, tag = "2")]
7 pub sample: ::prost::alloc::vec::Vec<Sample>,
8 #[prost(message, repeated, tag = "3")]
9 pub mapping: ::prost::alloc::vec::Vec<Mapping>,
10 #[prost(message, repeated, tag = "4")]
11 pub location: ::prost::alloc::vec::Vec<Location>,
12 #[prost(message, repeated, tag = "5")]
13 pub function: ::prost::alloc::vec::Vec<Function>,
14 #[prost(string, repeated, tag = "6")]
15 pub string_table: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
16 #[prost(int64, tag = "7")]
17 pub drop_frames: i64,
18 #[prost(int64, tag = "8")]
19 pub keep_frames: i64,
20 #[prost(int64, tag = "9")]
21 pub time_nanos: i64,
22 #[prost(int64, tag = "10")]
23 pub duration_nanos: i64,
24 #[prost(message, optional, tag = "11")]
25 pub period_type: ::core::option::Option<ValueType>,
26 #[prost(int64, tag = "12")]
27 pub period: i64,
28 #[prost(int64, repeated, tag = "13")]
29 pub comment: ::prost::alloc::vec::Vec<i64>,
30 #[prost(int64, tag = "14")]
31 pub default_sample_type: i64,
32}
33#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
34pub struct ValueType {
35 #[prost(int64, tag = "1")]
36 pub ty: i64,
37 #[prost(int64, tag = "2")]
38 pub unit: i64,
39}
40#[derive(Clone, PartialEq, ::prost::Message)]
41pub struct Sample {
42 #[prost(uint64, repeated, tag = "1")]
43 pub location_id: ::prost::alloc::vec::Vec<u64>,
44 #[prost(int64, repeated, tag = "2")]
45 pub value: ::prost::alloc::vec::Vec<i64>,
46 #[prost(message, repeated, tag = "3")]
47 pub label: ::prost::alloc::vec::Vec<Label>,
48}
49#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
50pub struct Label {
51 #[prost(int64, tag = "1")]
52 pub key: i64,
53 #[prost(int64, tag = "2")]
54 pub str: i64,
55 #[prost(int64, tag = "3")]
56 pub num: i64,
57 #[prost(int64, tag = "4")]
58 pub num_unit: i64,
59}
60#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
61pub struct Mapping {
62 #[prost(uint64, tag = "1")]
63 pub id: u64,
64 #[prost(uint64, tag = "2")]
65 pub memory_start: u64,
66 #[prost(uint64, tag = "3")]
67 pub memory_limit: u64,
68 #[prost(uint64, tag = "4")]
69 pub file_offset: u64,
70 #[prost(int64, tag = "5")]
71 pub filename: i64,
72 #[prost(int64, tag = "6")]
73 pub build_id: i64,
74 #[prost(bool, tag = "7")]
75 pub has_functions: bool,
76 #[prost(bool, tag = "8")]
77 pub has_filenames: bool,
78 #[prost(bool, tag = "9")]
79 pub has_line_numbers: bool,
80 #[prost(bool, tag = "10")]
81 pub has_inline_frames: bool,
82}
83#[derive(Clone, PartialEq, ::prost::Message)]
84pub struct Location {
85 #[prost(uint64, tag = "1")]
86 pub id: u64,
87 #[prost(uint64, tag = "2")]
88 pub mapping_id: u64,
89 #[prost(uint64, tag = "3")]
90 pub address: u64,
91 #[prost(message, repeated, tag = "4")]
92 pub line: ::prost::alloc::vec::Vec<Line>,
93 #[prost(bool, tag = "5")]
94 pub is_folded: bool,
95}
96#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
97pub struct Line {
98 #[prost(uint64, tag = "1")]
99 pub function_id: u64,
100 #[prost(int64, tag = "2")]
101 pub line: i64,
102}
103#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
104pub struct Function {
105 #[prost(uint64, tag = "1")]
106 pub id: u64,
107 #[prost(int64, tag = "2")]
108 pub name: i64,
109 #[prost(int64, tag = "3")]
110 pub system_name: i64,
111 #[prost(int64, tag = "4")]
112 pub filename: i64,
113 #[prost(int64, tag = "5")]
114 pub start_line: i64,
115}