dtrace_go
() Function
After setting the options, the consumer prepares the D program to run, and the dtrace_go
() function starts the execution of the program. This action enables the specified probes so that the probes become active and execute the associated clauses. The dtrace_go
() function has only one argument, the DTrace handle that contains information about the program to run.
int dtrace_go(dtrace_hdl_t *dtp)
After the dtrace_go
() function is called, the probes start to generate data. The buffers in the DTrace framework that hold the generated data start filling. The consumer periodically consumes the generated data.