From 1612c6b346e7c1afce14b506907c83ba36ea1a84 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 22 Mar 2025 23:58:29 +0200 Subject: catch syscall return code for fcntl success or error --- internal/flamegraph/collapsed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/flamegraph') 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 -- cgit v1.2.3