HasFunctions determines if all locations in this profile have symbolized function information.
()
| 824 | // HasFunctions determines if all locations in this profile have |
| 825 | // symbolized function information. |
| 826 | func (p *Profile) HasFunctions() bool { |
| 827 | for _, l := range p.Location { |
| 828 | if l.Mapping != nil && !l.Mapping.HasFunctions { |
| 829 | return false |
| 830 | } |
| 831 | } |
| 832 | return true |
| 833 | } |
| 834 | |
| 835 | // HasFileLines determines if all locations in this profile have |
| 836 | // symbolized file and line number information. |
no outgoing calls