lua-users home
lua-l archive

RE: Lua DTrace probes

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,
You may find a first version of lua with a custom provider for dtrace in:
http://maciel.org/luadtrace/lua-dtrace-1.0.1a.tar.gz
http://maciel.org/luadtrace/lua-dtrace-1.0.1a.diff.gz
There are 23 probes that instrument gc, call path, threads...
Read the file 'DTRACE.README'.
 
Below is a sample output for 'tests/dtrace/object-life.d':
+Tracing... Hit Ctrl-C to end.
+Distribution of object lifetime in ms, aggregated by object type:
+ userdata
+ value ------------- Distribution ------------- count
+ 1 | 0
+ 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3
+ 4 | 0
+
+ table
+ value ------------- Distribution ------------- count
+ -1 | 0
+ 0 |@@@@ 2
+ 1 |@@@@@@@@@@@ 6
+ 2 |@@@@@@@@@@@@@@@@@@@@@@@@@ 13
+ 4 | 0
+
+ function
+ value ------------- Distribution ------------- count
+ -1 | 0
+ 0 |@ 5
+ 1 |@@@@@@@@@@@@@@@@@@@ 73
+ 2 |@@@@@@@@@@@@@@@@@@@@ 76
+ 4 | 0
+
+ string
+ value ------------- Distribution ------------- count
+ 1 | 0
+ 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 168
+ 4 |@@@@@@@ 36
+ 8 | 0
Feedback of any kind is welcomed.
--
Leonardo Maciel 

AltStyle によって変換されたページ (->オリジナル) /