HasFileLines determines if all locations in this profile have symbolized file and line number information.
()
| 835 | // HasFileLines determines if all locations in this profile have |
| 836 | // symbolized file and line number information. |
| 837 | func (p *Profile) HasFileLines() bool { |
| 838 | for _, l := range p.Location { |
| 839 | if l.Mapping != nil && (!l.Mapping.HasFilenames || !l.Mapping.HasLineNumbers) { |
| 840 | return false |
| 841 | } |
| 842 | } |
| 843 | return true |
| 844 | } |
| 845 | |
| 846 | // Unsymbolizable returns true if a mapping points to a binary for which |
| 847 | // locations can't be symbolized in principle, at least now. Examples are |
no outgoing calls