* testsuite/buildok/kprocess-all-probes.stp: Renamed from
process-all-probes.stp and uses wildcards.
* testsuite/buildok/kprocess-detailed.stp: New testcase.
* testsuite/buildok/kprocess-embedded.stp: Ditto.
--- /dev/null
+#! stap -wp4
+
+// Tests if all probes in the process tapset are resolvable.
+
+probe kprocess.*
+{
+}
--- /dev/null
+#! stap -p4
+
+probe kprocess.create
+{
+ printf("%p %d\n", task, new_pid)
+}
+
+probe kprocess.start
+{
+ printf("%s\n", pp())
+}
+
+probe kprocess.exec
+{
+ printf("%s\n", filename)
+}
+
+probe kprocess.exec_complete
+{
+ printf("%d %d\n", errno, success)
+}
+
+probe kprocess.exit
+{
+ printf("%d\n", code)
+}
+
+probe kprocess.release
+{
+ printf("%p %d\n", task, pid)
+}
--- /dev/null
+#! stap -p4
+
+probe begin
+{
+ printf("%d\n", _IS_ERR(0))
+}
+++ /dev/null
-#! stap -wp4
-
-// Tests if all probes in the process tapset are resolvable.
-
-probe kprocess.create,
- kprocess.start,
- kprocess.exec,
- kprocess.exec_complete,
- kprocess.exit,
- kprocess.release
-{
-}