google / tcmalloc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to get for memory info like func “malloc_info”

chinchilla-forest opened this issue · comments

when i use tcmalloc to run this code ,it print nothing。
malloc_info(0, stdout);`
So how to get memory info in tcmalloc like malloc_info?

my code is in centos7 system,but the gcc version is 11(use redhat’s devtool11)