func (r *RingRecorder) flush() // Snappy compress and write to offline file // No analysis happens here.
package offlineprofiler import ( "os" "sync/atomic" "time" "github.com/segmentio/kafka-go/snappy" ) offline cross profiler
type Event struct Ts uint64 PID uint32 Domain string // "cpu", "mem", "io" Key string // "cycles", "page_fault", "write_bytes" Value uint64 Stack []uintptr func (r *RingRecorder) flush() // Snappy compress and