A Fast and Extensible Memory Profiling Framework