aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/files')
-rw-r--r--meta/lib/oeqa/selftest/files/trace_open.stp5
-rw-r--r--meta/lib/oeqa/selftest/files/trace_open2.stp4
2 files changed, 9 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/files/trace_open.stp b/meta/lib/oeqa/selftest/files/trace_open.stp
new file mode 100644
index 00000000000..29b73d243a8
--- /dev/null
+++ b/meta/lib/oeqa/selftest/files/trace_open.stp
@@ -0,0 +1,5 @@
+probe syscall.open
+
+{
+printf ("%s(%d) open (%s)", execname(), pid(), argstr)
+}
diff --git a/meta/lib/oeqa/selftest/files/trace_open2.stp b/meta/lib/oeqa/selftest/files/trace_open2.stp
new file mode 100644
index 00000000000..b59c00f0510
--- /dev/null
+++ b/meta/lib/oeqa/selftest/files/trace_open2.stp
@@ -0,0 +1,4 @@
+probe syscall.open
+{
+printf ("%s(%d) open", execname(), pid())
+}