Skip to content

Commit

Permalink
add other memory allocation functions (#366)
Browse files Browse the repository at this point in the history
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 ec47847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/malloc-aggregation.d
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit ec47847

Please # to comment.