mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
malloc-aggregation.d: don't forget posix_memalign (#785)
Motivation: When counting the number of allocations it's important not to forget an allocation function that Swift uses. Modifications: add posix_memalign to dev/malloc-aggregation.d Result: malloc aggregations accurate with recent Swift versions
This commit is contained in:
1 parent
58a58b9680
commit
9480c27148
1 file changed
+1
-1
@@ -28,7 +28,7 @@
|
||||
printf("=====\n");
|
||||
}
|
||||
|
||||
pid$target::malloc:entry, pid$target::posix_memalign:entry, pid$target::realloc:entry, pid$target::reallocf:entry, pid$target::calloc:entry, pid$target::valloc:entry {
|
||||
pid$target::malloc:entry, pid$target::posix_memalign:entry, pid$target::realloc:entry, pid$target::reallocf:entry, pid$target::calloc:entry, pid$target::valloc:entry, pid$target::posix_memalign:entry {
|
||||
@malloc_calls[ustack()] = count();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user