diff options
| author | Paul Buetow <paul@buetow.org> | 2025-03-19 22:30:27 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-03-19 22:30:27 +0200 |
| commit | 564bd412b253a89709c7b099918fe4c21540dbe5 (patch) | |
| tree | f06a15a3082139e8b82807195f4021c4018ed145 /internal/flamegraph | |
| parent | 0cbf33424a4034bc18c433cb6bf8fd72544a05b4 (diff) | |
more
Diffstat (limited to 'internal/flamegraph')
| -rw-r--r-- | internal/flamegraph/collapsed.go | 2 |
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) |
