Add dtrace parsing (#3288)

Motivation:

We often debug allocations on macOS, so being able to parse the output
from malloc-aggregation.d is valuable.

Modifications:

- Add a dtrace parser to stackdiff

Result:

Can diff outputs from dtrace
This commit is contained in:
George Barnett authored and GitHub committed 2025-07-08 11:18:42 +01:00
1 parent 67df59a0fa
commit 7ea505e5bf
3 files changed
+222 -1

No files matched your search

@@ -70,7 +70,7 @@ extension AggregateStacks {
case .heaptrack:
stacks = HeaptrackParser.parse(lines: lines)
case .dtrace:
fatalError("dtrace isn't supported yet, why don't you add it?")
stacks = DTraceParser.parse(lines: lines)
case .bpftrace:
fatalError("bpftrace isn't supported yet, why don't you add it?")
}