hotproc : automate root_proc generation

A series of awk/sed commands to generate the hotproc metrics from
what is already in root_proc.