printf + fflush
Already have the code for this:
error_msg_warning()
error_msg_fatal()
Make a trace of each process is trivial
void sample_routine(…)
{
#ifdef DEBUG
error_msg_warning(“start sample_routine\n”);
#endif
…
#ifdef DEBUG
error_msg_warning(“end sample_routine\n”);
#endif
}
Previous slide
Next slide
Back to first slide
View graphic version