Mapping corresponds to Profile.Mapping
| 109 | |
| 110 | // Mapping corresponds to Profile.Mapping |
| 111 | type Mapping struct { |
| 112 | ID uint64 |
| 113 | Start uint64 |
| 114 | Limit uint64 |
| 115 | Offset uint64 |
| 116 | File string |
| 117 | BuildID string |
| 118 | HasFunctions bool |
| 119 | HasFilenames bool |
| 120 | HasLineNumbers bool |
| 121 | HasInlineFrames bool |
| 122 | |
| 123 | fileX int64 |
| 124 | buildIDX int64 |
| 125 | |
| 126 | // Name of the kernel relocation symbol ("_text" or "_stext"), extracted from File. |
| 127 | // For linux kernel mappings generated by some tools, correct symbolization depends |
| 128 | // on knowing which of the two possible relocation symbols was used for `Start`. |
| 129 | // This is given to us as a suffix in `File` (e.g. "[kernel.kallsyms]_stext"). |
| 130 | // |
| 131 | // Note, this public field is not persisted in the proto. For the purposes of |
| 132 | // copying / merging / hashing profiles, it is considered subsumed by `File`. |
| 133 | KernelRelocationSymbol string |
| 134 | } |
| 135 | |
| 136 | // Location corresponds to Profile.Location |
| 137 | type Location struct { |
nothing calls this directly
no outgoing calls
no test coverage detected