#include "aprobe.h"
Probe thread
{
   probe "DiskRead"
   {
     on_entry ap_StubRoutine; /* DiskRead will not be called */
     on_exit $return = -1;
   }
}

Example 4: Injecting a disk error fault into the application.

Back to Article