summaryrefslogtreecommitdiff
path: root/internal/flamegraph
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-03-22 23:58:29 +0200
committerPaul Buetow <paul@buetow.org>2025-03-22 23:58:29 +0200
commit1612c6b346e7c1afce14b506907c83ba36ea1a84 (patch)
tree5d1be635f38d8babf1c727e71609e497b51fdf88 /internal/flamegraph
parentacb810dac5ae8aed48ddd4a865c7fbeca52c4e0d (diff)
catch syscall return code for fcntl success or error
Diffstat (limited to 'internal/flamegraph')
-rw-r--r--internal/flamegraph/collapsed.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/flamegraph/collapsed.go b/internal/flamegraph/collapsed.go
index 2c3e05a..de78b88 100644
--- a/internal/flamegraph/collapsed.go
+++ b/internal/flamegraph/collapsed.go
@@ -22,7 +22,7 @@ func (c *counter) merge(other counter) {
// path, traceid (syscall name), comm, pid, tid
// traceid, path is by default set in this order
// store an intermediate format which then can be converted to the others...
-// e.g. path / traceid / comm / pid / tid / counter
+// e.g. path / traceid / comm / pid / tid / flags / counter
type collapsed map[string]map[types.TraceId]counter
// TODO: Unit test this