/* * stap -g -I../tapset force_rebind.stp */ probe module("sunrpc").function("call_connect_status") { terror = task_status($task); if (terror) printf("call_connect_status:%s:%s: error %d (%s)\n", cl_server($task), cl_prog($task), terror, errno_str(terror)); } probe module("sunrpc").function("call_status") { terror = task_status($task); if (terror) printf("call_status:%s:%s: error %d (%s)\n", cl_server($task), cl_prog($task), terror, errno_str(terror)); } probe module("sunrpc").function("rpc_force_rebind") { printf("rpc_force_rebind: clnt %p\n", $clnt); } probe module("sunrpc").function("call_bind_status") { terror = task_status($task); if (terror) printf("call_bind_status:%s:%s: error %d (%s)\n", cl_server($task), cl_prog($task), terror, errno_str(terror)); } probe begin { log("starting rpc_force_rebind probe") } probe end { log("ending rpc_force_rebind probe") }