| 83 | } |
| 84 | |
| 85 | type ContinuousProfiler struct { |
| 86 | cfg *ContinuousProfile |
| 87 | profiler *pyroscope.Profiler |
| 88 | running bool |
| 89 | |
| 90 | profileTypes []string |
| 91 | serverAddress string |
| 92 | } |
| 93 | |
| 94 | func NewContinuousProfiler(config *ContinuousProfile) *ContinuousProfiler { |
| 95 | p := &ContinuousProfiler{ |
nothing calls this directly
no outgoing calls
no test coverage detected