1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

this may be better?

This commit is contained in:
Jeff Becker 2018-10-29 10:37:20 -04:00
parent d21c2a3288
commit c5e2cffdbb
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -1,9 +1,9 @@
#!/usr/sbin/dtrace -s
syscall:::entry
/pid == $1/
/pid == $target/
{
@calls[probefunc] = count();
@calls[ustack(10), probefunc] = count();
}
profile:::tick-1sec
@ -11,7 +11,8 @@ profile:::tick-1sec
/** print */
printa(@calls);
/** clear */
trunc(@calls);
clear(@calls);
trunc(@calls, 15);
}