table of contents
other versions
- wheezy 1.7-1+deb7u1
- jessie 2.6-0.2
- jessie-backports 3.0-6~bpo8+1
- testing 3.1-2
- unstable 3.1-2
| FUNCTION:(3stap) | Context Functions | FUNCTION:(3stap) |
function::target
NAME¶
function::target - Return the process ID of the target processSYNOPSIS¶
target:long()
ARGUMENTS¶
NoneDESCRIPTION¶
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. -x <pid> target returns the pid specified by -x -c <command> target returns the pid for the executed command specified by -c| May 2013 | SystemTap Tapset Reference |