Added spec:commit task to commit changes to spec/ruby sources.
[rbx.git] / shotgun / lib / dtrace_probes.h
blob0eca3578b88915b24060f17ac0eab9b90a1f9632
1 #include "shotgun/dtrace.h"
3 #define ENABLE_DTRACE 1
5 /* function entry/exit probes */
7 void dtrace_function_primitive_entry(STATE, cpu c, const struct message *msg);
8 void dtrace_function_primitive_return(STATE, cpu c, const struct message *msg);
9 void dtrace_function_entry(STATE, cpu c, const struct message *msg);
10 void dtrace_function_return(STATE, cpu c);
12 /* memory management probes */
13 void dtrace_gc_begin();
14 void dtrace_gc_end();
15 void object_create_start(OBJECT cls);
16 void object_create_done(OBJECT cls);