diff options
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-x | testsuite/buildok/task_test.stp | 8 | ||||
-rwxr-xr-x | testsuite/buildok/utrace.stp | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/buildok/task_test.stp b/testsuite/buildok/task_test.stp index 792f96ea..e391377f 100755 --- a/testsuite/buildok/task_test.stp +++ b/testsuite/buildok/task_test.stp @@ -18,5 +18,13 @@ probe begin { log(sprint(task_max_file_handles(c))) log(sprint(pid2task(pid()))) log(sprint(pid2execname(pid()))) + + // task_time.stp + log(task_time_string()) + log(cputime_to_string(0)) + log(msecs_to_string(0)) + log(sprint(cputime_to_msecs(0))) + log(sprint(task_stime())) + log(sprint(task_utime())) exit() } diff --git a/testsuite/buildok/utrace.stp b/testsuite/buildok/utrace.stp new file mode 100755 index 00000000..436bf9c4 --- /dev/null +++ b/testsuite/buildok/utrace.stp @@ -0,0 +1,3 @@ +#! stap -p4 + +probe %( CONFIG_UTRACE == "y" %? process.begin %: never %) { } |