4 <strong>Function
</strong> - Handle the next kernel-generated PC sample message.
7 <strong>boolean_t prof_server
</strong>
8 <strong>(mach_msg_header_t
</strong> <var>request_msg
</var>,
9 <strong>mach_msg_header_t
</strong> <var>reply_ms
</var><strong>);
</strong>
14 <dt> <var>in_msg
</var>
16 [pointer to in structure]
17 The sample message received from the kernel.
19 <dt> <var>out_msg
</var>
26 The
<strong>prof_server
</strong> function is the MIG generated server
28 handle messages from the kernel corresponding to program counter (profiling)
29 samples. Such messages are delivered to the task or thread sample port set by
30 <strong>task_sample
</strong> or
<strong>thread_sample
</strong>. The
<strong>prof_server
</strong>
32 necessary argument handling for this kernel message and calls the appropriate
33 handling function. These functions must be supplied by the caller.
34 <h3>RETURN VALUES
</h3>
37 <dt> <strong>TRUE
</strong>
39 The message was handled and the appropriate function was called.
41 <dt> <strong>FALSE
</strong>
43 The message did not apply to the sample mechanism and no other
46 <h3>RELATED INFORMATION
</h3>
49 <a href=
"receive_samples.html"><strong>receive_samples
<strong></a>.