Make sure to STOP all kernel profiling before attempting to suspend or hibernate your machine. Otherwise I expect it will hang.
That is not acceptable. People suspend and hibernate machines without being aware of what applications are doing. GPROF is a kernel compile-time option. If you don't enable it, you have nothing to worry about. Well that's a great hidden reason why noone would ever turn on this subsystem -- so why is it getting done on it??