Add support to collect stats on cumulative LinkBuffer linked sizes based on profiles.