Add profiling information to log_profile. Real-time NOT yet implemented.