diff options
author | jistone <jistone> | 2006-05-10 00:47:59 +0000 |
---|---|---|
committer | jistone <jistone> | 2006-05-10 00:47:59 +0000 |
commit | 95bb018ba49d8d11c5b261b4fbac2d55dac7c9e2 (patch) | |
tree | c37c42ec13c01b62c6a9507943bf28038065494f /testsuite/buildok/task_test.stp | |
parent | eeee7059dc4d88e4950e93504357e1f4ce140912 (diff) | |
download | systemtap-steved-95bb018ba49d8d11c5b261b4fbac2d55dac7c9e2.tar.gz systemtap-steved-95bb018ba49d8d11c5b261b4fbac2d55dac7c9e2.tar.xz systemtap-steved-95bb018ba49d8d11c5b261b4fbac2d55dac7c9e2.zip |
2006-05-09 Josh Stone <joshua.i.stone@intel.com>
* examples/small_demos/proc_snoop.stp: monitor all process events.
* testsuite/buildok/task_test.stp: test compilation of all task
functions.
* testsuite/buildok/process_test.stp: test all process events and
associated variables.
Diffstat (limited to 'testsuite/buildok/task_test.stp')
-rwxr-xr-x | testsuite/buildok/task_test.stp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/buildok/task_test.stp b/testsuite/buildok/task_test.stp new file mode 100755 index 00000000..692745f7 --- /dev/null +++ b/testsuite/buildok/task_test.stp @@ -0,0 +1,18 @@ +#! stap -p4 + +probe begin { + c = task_current() + log(string(task_parent(c))) + log(string(task_state(c))) + log(task_execname(c)) + log(string(task_pid(c))) + log(string(task_tid(c))) + log(string(task_gid(c))) + log(string(task_egid(c))) + log(string(task_uid(c))) + log(string(task_euid(c))) + log(string(task_prio(c))) + log(string(task_nice(c))) + log(string(task_cpu(c))) + exit() +} |