diff options
Diffstat (limited to 'internal/flamegraph/worker.go')
| -rw-r--r-- | internal/flamegraph/worker.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/flamegraph/worker.go b/internal/flamegraph/worker.go index 7369949..7c8d848 100644 --- a/internal/flamegraph/worker.go +++ b/internal/flamegraph/worker.go @@ -10,11 +10,15 @@ import ( type worker struct { collapsed collapsed + data iorData done chan struct{} } func newWorker() worker { - return worker{collapsed: make(collapsed)} + return worker{ + collapsed: make(collapsed), // TODO: Retire + data: newIorData(), // TODO: Implement fully + } } // Run until ch is closed or has no more events and ctx is done. |
