mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
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:
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?")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user