how to get for memory info like func “malloc_info”
chinchilla-forest opened this issue · comments
chinchilla-forest commented
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)
chinchilla-forest commented
i think this doc is useful
https://github.com/google/tcmalloc/blob/master/docs/stats.md