X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/743b15655a24ee3fe9f458f383003e011db0558f..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/receive_samples.html diff --git a/osfmk/man/receive_samples.html b/osfmk/man/receive_samples.html index 9268ac683..fb61dfd9f 100755 --- a/osfmk/man/receive_samples.html +++ b/osfmk/man/receive_samples.html @@ -1 +1,51 @@ -

receive_samples

Server Interface - Handles the occurrence of a PC sampling message

SYNOPSIS

kern_return_t   receive_samples
                (mach_port_t                     sample_port,
                 sample_array_t                      samples,
                 mach_msg_type_number_t         sample_count);

PARAMETERS

sample_port
[in sample (receive) right] The port to which the sample message was sent.
samples
[pointer to in array of vm_address_t] An array of PC sample values.
sample_count
[in scalar] The number of values in samples.

DESCRIPTION

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.

NOTES

This interface is machine word length specific because of the virtual addresses in the samples parameter.

RETURN VALUE

Irrelevant.

RELATED INFORMATION

Functions: task_sample, thread_sample, prof_server. \ No newline at end of file +

receive_samples

+

+Server Interface - Handles the occurrence of a PC sampling message + +

SYNOPSIS

+
+kern_return_t   receive_samples
+                (mach_port_t                     sample_port,
+                 sample_array_t                      samples,
+                 mach_msg_type_number_t         sample_count);
+
+

PARAMETERS

+
+
sample_port +
+[in sample (receive) right] The port to which the sample message was +sent. + +
samples +
+[pointer to in array of vm_address_t] An array of PC sample values. + +
sample_count +
+[in scalar] The number of values in samples. +
+ +

DESCRIPTION

+

+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. + +

NOTES

+

+This interface is machine word length specific because of the virtual addresses +in the samples parameter. + +

RETURN VALUE

+

+Irrelevant. + +

RELATED INFORMATION

+

+Functions: +task_sample, +thread_sample, +prof_server.