summaryrefslogtreecommitdiffstats
path: root/Lib/test/dtracedata/line.d
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/dtracedata/line.d')
-rw-r--r--Lib/test/dtracedata/line.d7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/dtracedata/line.d b/Lib/test/dtracedata/line.d
new file mode 100644
index 0000000..03f22db
--- /dev/null
+++ b/Lib/test/dtracedata/line.d
@@ -0,0 +1,7 @@
+python$target:::line
+/(copyinstr(arg1)=="test_line")/
+{
+ printf("%d\t%s:%s:%s:%d\n", timestamp,
+ probename, basename(copyinstr(arg0)),
+ copyinstr(arg1), arg2);
+}