X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..39236c6e673c41db228275375ab7fdb0f837b292:/osfmk/man/prof_server.html diff --git a/osfmk/man/prof_server.html b/osfmk/man/prof_server.html old mode 100755 new mode 100644 index 44d09f1e9..009d68cb6 --- a/osfmk/man/prof_server.html +++ b/osfmk/man/prof_server.html @@ -1 +1,49 @@ -

prof_server


Function - Handle the next kernel-generated PC sample message.

SYNOPSIS

boolean_t	prof_server
		(mach_msg_header_t	request_msg,
		mach_msg_header_t	reply_ms);

PARAMETERS

in_msg
[pointer to in structure] The sample message received from the kernel.

out_msg
[out structure] Not used.

DESCRIPTION

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.

RETURN VALUES

TRUE
The message was handled and the appropriate function was called.

FALSE
The message did not apply to the sample mechanism and no other action was taken.

RELATED INFORMATION

Functions: receive_samples. \ No newline at end of file +

prof_server

+
+

+Function - Handle the next kernel-generated PC sample message. +

SYNOPSIS

+
+boolean_t	prof_server
+		(mach_msg_header_t	request_msg,
+		mach_msg_header_t	reply_ms);
+
+

PARAMETERS

+
+

+

in_msg +
+[pointer to in structure] +The sample message received from the kernel. +

+

out_msg +
+[out structure] +Not used. +
+

DESCRIPTION

+

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

RETURN VALUES

+
+

+

TRUE +
+The message was handled and the appropriate function was called. +

+

FALSE +
+The message did not apply to the sample mechanism and no other +action was taken. +
+

RELATED INFORMATION

+

+Functions: +receive_samples.