summaryrefslogtreecommitdiff
path: root/internal/flamegraph
diff options
context:
space:
mode:
Diffstat (limited to 'internal/flamegraph')
-rw-r--r--internal/flamegraph/collapsed.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/flamegraph/collapsed.go b/internal/flamegraph/collapsed.go
index f61d917..3b2f636 100644
--- a/internal/flamegraph/collapsed.go
+++ b/internal/flamegraph/collapsed.go
@@ -62,7 +62,9 @@ func (c collapsed) dump() {
func (c collapsed) dumpBy(wg *sync.WaitGroup, outfile string, syscallAtTop bool, by func(counter) uint64) {
defer wg.Done()
+ defer fmt.Println("Dumping done")
fmt.Println("Dumping", outfile)
+
file, err := os.Create(outfile)
if err != nil {
panic(err)