Server Interface - Handles the occurrence of a PC sampling message
kern_return_t receive_samples (mach_port_t sample_port, sample_array_t samples, mach_msg_type_number_t sample_count);
A receive_samples function is called by prof_server as the result of a kernel message indicating that a set of program counter samples has been gathered. The parameter sample_port specifies the port named via a previous call to task_sample or thread_sample.
This interface is machine word length specific because of the virtual addresses in the samples parameter.
Irrelevant.
Functions: task_sample, thread_sample, prof_server.