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:
parent
d21c2a3288
commit
c5e2cffdbb
1 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue