Skip to content
Permalink
Browse files

add other memory allocation functions (#366)

Motivation:

The dtrace scripts dev/malloc-aggregation.d was missing a bunch of more
rarely used memory allocation functions.

Modifications:

Added the more rarely used functions.

Result:

Better output when using dev/malloc-aggregation.d
  • Loading branch information...
weissi authored and Lukasa committed Apr 27, 2018
1 parent e5dedbe commit ec47847b4bc56542408af8d8e8ca71ee17d78883
Showing with 1 addition and 1 deletion.
  1. +1 −1 dev/malloc-aggregation.d
@@ -28,7 +28,7 @@
printf("=====\n");
}

pid$target::malloc: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 {
@malloc_calls[ustack()] = count();
}

0 comments on commit ec47847

Please sign in to comment.
You can’t perform that action at this time.