diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-15 17:18:12 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-15 17:18:12 +0000 |
commit | 827e134a90c4e2814fe47bdf310ed7e78fd7f61c (patch) | |
tree | 30e9d8c3f1dc43fa6c586a0bcde2a353f946e92f /perlapi.c | |
parent | 56d7751aa4c2e1e56296cbd71ecc38fb6fe74276 (diff) | |
download | perl-827e134a90c4e2814fe47bdf310ed7e78fd7f61c.tar.gz |
provide malloc stats via get_mstats() (from Ilya Zakharevich)
p4raw-id: //depot/perl@5103
Diffstat (limited to 'perlapi.c')
-rw-r--r-- | perlapi.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -3301,6 +3301,13 @@ Perl_dump_mstats(pTHXo_ char* s) { ((CPerlObj*)pPerl)->Perl_dump_mstats(s); } + +#undef Perl_get_mstats +int +Perl_get_mstats(pTHXo_ perl_mstats_t *buf, int buflen, int level) +{ + return ((CPerlObj*)pPerl)->Perl_get_mstats(buf, buflen, level); +} #endif #undef Perl_safesysmalloc |