Skip to content

Commit fc61ebf

Browse files
author
A. Sundararajan
committed
initial
initial
1 parent 4cce015 commit fc61ebf

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

samples/jthread.d

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/sbin/dtrace -s
2+
3+
btrace$1:::event
4+
/
5+
copyinstr(arg0) == "jthreadstart" &&
6+
arg1 != NULL
7+
/
8+
{
9+
printf("From DTrace: Java Thread '%s' started\n", copyinstr(arg1));
10+
}

0 commit comments

Comments
 (0)