5 ms·
Hmm, for C programs I use https://talloc.samba.org/talloc/doc/html/index.html https://talloc.samba.org/talloc/doc/html/index.html or the more cut-down ccan/tal
by RustyRussell 10y ago
Hmm, for C programs I use https://talloc.samba.org/talloc/doc/html/index.html https://talloc.samba.org/talloc/doc/html/index.html or the more cut-down ccan/tal http://ccodearchive.net/info/tal.html http://ccodearchive.net/info/tal.html
There's sometimes a great insight available in viewing your allocation hierarchy on a running program, too.