[debug] callgrind helpers