issue #14 - first pass on flame graphs hooks