Create gocover func for profile to stdout