diff options
author | Jason Evans <jasone@canonware.com> | 2017-05-30 14:26:02 -0700 |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2017-05-30 20:22:00 -0700 |
commit | ff8062a511f2f3e727891c21238d98c6757ee27e (patch) | |
tree | 03f5d0467c9e4e00130f8eba834c58927702c5f5 /bin | |
parent | 7578b0e929f3380ba1713bd77a38c402a90f3b27 (diff) | |
download | jemalloc-ff8062a511f2f3e727891c21238d98c6757ee27e.tar.gz |
Add jemalloc prefix to allocator functions pruned by jeprof.
This resolves #507.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/jeprof.in | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/bin/jeprof.in b/bin/jeprof.in index baa80a54..e6f4af4b 100644 --- a/bin/jeprof.in +++ b/bin/jeprof.in @@ -2892,21 +2892,21 @@ sub RemoveUninterestingFrames { my %skip = (); my $skip_regexp = 'NOMATCH'; if ($main::profile_type eq 'heap' || $main::profile_type eq 'growth') { - foreach my $name ('calloc', + foreach my $name ('@JEMALLOC_PREFIX@calloc', 'cfree', - 'malloc', - 'free', - 'memalign', - 'posix_memalign', - 'aligned_alloc', + '@JEMALLOC_PREFIX@malloc', + '@JEMALLOC_PREFIX@free', + '@JEMALLOC_PREFIX@memalign', + '@JEMALLOC_PREFIX@posix_memalign', + '@JEMALLOC_PREFIX@aligned_alloc', 'pvalloc', - 'valloc', - 'realloc', - 'mallocx', # jemalloc - 'rallocx', # jemalloc - 'xallocx', # jemalloc - 'dallocx', # jemalloc - 'sdallocx', # jemalloc + '@JEMALLOC_PREFIX@valloc', + '@JEMALLOC_PREFIX@realloc', + '@JEMALLOC_PREFIX@mallocx', + '@JEMALLOC_PREFIX@rallocx', + '@JEMALLOC_PREFIX@xallocx', + '@JEMALLOC_PREFIX@dallocx', + '@JEMALLOC_PREFIX@sdallocx', 'tc_calloc', 'tc_cfree', 'tc_malloc', |