X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..39236c6e673c41db228275375ab7fdb0f837b292:/osfmk/man/etap_get_info.html diff --git a/osfmk/man/etap_get_info.html b/osfmk/man/etap_get_info.html old mode 100755 new mode 100644 index 0814833ae..db4368ee7 --- a/osfmk/man/etap_get_info.html +++ b/osfmk/man/etap_get_info.html @@ -1 +1,93 @@ -

etap_get_info


Function - Map ETAP buffers and tables into server's address space.

SYNOPSIS

#include<mach/etap.h>

kern_return_t   etap_get_info
                (host_priv_t                          priv_port,
                 int                                        int,
                 int                                        int,
                 vm_offset_t                        vm_offset_t,
                 vm_offset_t                        vm_offset_t,
                 int                                        int,
                 int                                        int,
                 int                                        int,
                 int                                        int);

PARAMETERS

priv_port
the name of the Server's privileged device port (server_device_port), granting the Server access to this service.

et_entries
used to return number of entries in the event table.

st_entries
used to return number of entries in the subsystem table.

et_offset
used to return the event table's page offset.

st_offset
used to return the subsystem table's page offset.

cb_width
returns the current cumulative buffer interval width.

mb_size
returns the size of the monitored buffers,

mb_entries
returns the maximum number of entries in a monitored buffer.

mb_cpus
returns the number of allocated monitored buffers (or supported CPUs).

DESCRIPTION

The etap_get_info interface provides the user space etap server or daemon with configuration and location information pertaining to the kernel's internal ETAP buffers; this information enables the caller to properly map the ETAP buffers and tables into its address space. When mapping is successfully completed, the Server displays the ETAP configuration on the console. The configuration output will resemble the following:

    ETAP configuration [ee:108 se:8 eo:a60 so:acc cw:0 ms:1008008 me:36 mc:1]
    ETAP event table mapped
    ETAP subsystem table mapped
    ETAP monitored buffer #0 mapped

The values between the brackets correspond with the arguments returned by the etap_get_info call (listed above). For example, "ee:108" indicates that the event table contains 108 ETAP event types and "mc:1" indicates that one monitored buffer has been allocated.

RETURN VALUES

KERN_SUCCESS
The call was performed successfully.

RELATED INFORMATION

Functions: etap_probe, etap_trace_thread, etap_trace_event, etap_get_info. \ No newline at end of file +

etap_get_info

+
+

+Function - Map ETAP buffers and tables into server's address space. +

SYNOPSIS

+
+#include<mach/etap.h>
+
+kern_return_t   etap_get_info
+                (host_priv_t                          priv_port,
+                 int                                        int,
+                 int                                        int,
+                 vm_offset_t                        vm_offset_t,
+                 vm_offset_t                        vm_offset_t,
+                 int                                        int,
+                 int                                        int,
+                 int                                        int,
+                 int                                        int);
+
+

PARAMETERS

+
+

+

priv_port +
+the name of the Server's privileged device port (server_device_port), + granting the Server access to this service. +

+

et_entries +
+used to return number of entries in the event table. +

+

st_entries +
+used to return number of entries in the subsystem table. +

+

et_offset +
+used to return the event table's page offset. +

+

st_offset +
+used to return the subsystem table's page offset. +

+

cb_width +
+returns the current cumulative buffer interval width. +

+

mb_size +
+returns the size of the monitored buffers, +

+

mb_entries +
+returns the maximum number of entries in a monitored buffer. +

+

mb_cpus +
+returns the number of allocated monitored buffers (or supported CPUs). +
+

DESCRIPTION

+

+The etap_get_info interface provides the user space +etap server or daemon with configuration and location information pertaining +to the kernel's internal ETAP buffers; this information enables the caller +to properly map the ETAP buffers and tables into its address +space. When mapping is successfully completed, the Server displays the +ETAP configuration on the console. The configuration output will +resemble the following: +

+    ETAP configuration [ee:108 se:8 eo:a60 so:acc cw:0 ms:1008008 me:36 mc:1]
+    ETAP event table mapped
+    ETAP subsystem table mapped
+    ETAP monitored buffer #0 mapped
+
+

+The values between the brackets correspond with the arguments returned +by the etap_get_info call (listed +above). For example, "ee:108" indicates that the event table contains +108 ETAP event types and "mc:1" indicates that one monitored buffer +has been allocated. +

RETURN VALUES

+
+
KERN_SUCCESS +
+ The call was performed successfully. +
+

RELATED INFORMATION

+

+Functions: +etap_probe, +etap_trace_thread, +etap_trace_event, +etap_get_info.