/* Start Run with:
* stap -v dp_request.stp
*
* Ctrl-C running stap once login completes.
*
*/
/* Used for tracking slowest request as tz_ctime() only converts seconds, not ms */
{
printf("\nEnding Systemtap Run - Providing Summary\n")
printf("Slowest request data:\n")
}
{
printf("\t--> Target: [%s] - Method: [%s]\n", dp_target_str(dp_req_target), dp_method_str(dp_req_method))
}
{
printf("\t\t DP Request [%s] finished with return code [%d]: [%s]\n",
/* Track slowest request information */
if (elapsed_time > slowest_req_time) {
}
}
{
printf("\t*** Beginning run! ***\n")
}
{
}