Added pg option for gprof