X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..2a1bd2d3eef5c7a7bb14f4bb9fdbca9a96ee4752:/osfmk/man/task_sample.html diff --git a/osfmk/man/task_sample.html b/osfmk/man/task_sample.html old mode 100755 new mode 100644 index ab5e9dc24..829e47045 --- a/osfmk/man/task_sample.html +++ b/osfmk/man/task_sample.html @@ -1 +1,41 @@ -
Function - Sample the target task's thread program counters periodically.
kern_return_t task_sample (task_t sample_task, mach_port_make_send_t reply_port);
The task_sample function causes the program counter (PC) of the specified sample_task (actually, all of the threads within sample_task) to be sampled periodically (whenever one of the threads happens to be running at the time of the kernel's "hardclock" interrupt). The set of PC sample values obtained are saved in buffers which are sent to the specified reply_port in receive_samples messages.
Only generic errors apply.
Functions: thread_sample, receive_samples. \ No newline at end of file +
+Function - Sample the target task's thread program counters periodically. +
+kern_return_t task_sample + (task_t sample_task, + mach_port_make_send_t reply_port); ++
+
+
+The task_sample function causes the program counter (PC) of the +specified sample_task (actually, all of the threads within +sample_task) to be sampled periodically (whenever one of the threads +happens to be running at the time of the kernel's "hardclock" interrupt). +The set of PC sample values obtained are saved in buffers which are sent to +the specified reply_port in receive_samples messages. +
+Only generic errors apply. +
+Functions: +thread_sample, +receive_samples.