summaryrefslogtreecommitdiff
path: root/internal/flamegraph/counter.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-04-10 23:02:35 +0300
committerPaul Buetow <paul@buetow.org>2025-04-10 23:02:35 +0300
commit9525794dc529c66642db8e9bbfe4ea357cdce909 (patch)
treee908225816ddd77b82492ffed2521dcd0331920a /internal/flamegraph/counter.go
parent1eeae89f5b1fcff41694b311fe699a65788cef6b (diff)
fixes
Diffstat (limited to 'internal/flamegraph/counter.go')
-rw-r--r--internal/flamegraph/counter.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/flamegraph/counter.go b/internal/flamegraph/counter.go
index 6105136..5a162c9 100644
--- a/internal/flamegraph/counter.go
+++ b/internal/flamegraph/counter.go
@@ -21,7 +21,6 @@ func (c Counter) add(other Counter) Counter {
}
func (c Counter) ValueByName(name string) uint64 {
- // Convert the numbers to strings here
switch name {
case "count":
return c.Count