Function - Handle the next kernel-generated PC sample message.
boolean_t prof_server (mach_msg_header_t request_msg, mach_msg_header_t reply_ms);
The prof_server function is the MIG generated server handling function to handle messages from the kernel corresponding to program counter (profiling) samples. Such messages are delivered to the task or thread sample port set by task_sample or thread_sample. The prof_server function performs all necessary argument handling for this kernel message and calls the appropriate handling function. These functions must be supplied by the caller.