Fix the profiling prototypes and the copyright.