Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
function::target — Return the process ID of the target process
This function returns the process ID of the target process. This is useful in conjunction with the -x PID or -c CMD command-line options to stap. An example of its use is to create scripts that filter on a specific process.
targetreturns the pid specified by -x
targetreturns the pid for the executed command specified by -c