()
| 436 | type sampleType interface { |
| 437 | sampleLocation() stackTrace |
| 438 | sampleValue() []int64 |
| 439 | } |
| 440 | |
| 441 | func buildProfile[T sampleType](p *Profiling, samples map[uint64]T, start time.Time, duration time.Duration, sampleType []*profile.ValueType, ratios []float64) *profile.Profile { |