Module Expr Str ImportFrom alias Import alias Assign NameStore Str FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Use the Python DTrace consumer as a Thread and run a syscall counter DTrace
script.

Created on Oct 10, 2011

@author: tmetsch
 dtrace DTraceConsumerThread N/A time N/A SCRIPT syscall:::entry { @num[execname] = count(); } main N/A N/A N/A N/A N/A 
    Run DTrace...
     N/A thr N/A DTraceConsumerThread SCRIPT N/A N/A N/A thr start N/A N/A N/A time sleep 5 N/A N/A N/A thr stop N/A N/A N/A thr join N/A N/A N/A __name__ __main__ N/A N/A N/A main