Profiling endpoint
This endpoint is intended for profiling user code and kernel code, receiving information about coverage of kernel code and user code, and receiving values of performance counters.
Information about methods of the endpoint is provided in the table below.
Methods of the profiler.Profiler endpoint (kl.core.Profiler interface)
Method | Method purpose and parameters | Potential danger of the method |
---|---|---|
| Purpose Assigns user code profiling. Profiling generates statistics on the execution of user code in the context of the defined thread. These statistics show how many times the user code from different sections of the defined virtual address range was triggered during the profiling period. Parameters
| Allows the kernel memory to be used up by creating a multitude of objects within it. |
| Purpose Cancels user code profiling. Parameters
| N/A |
| Purpose Assigns kernel code profiling. Profiling results in statistics on kernel code execution. These statistics show how many times the kernel code was triggered from different sections of the memory address range of the process that called this method. The range of virtual addresses occupied by kernel code are identical for all processes. Kernel code execution statistics are gathered in the aggregate and not within the context of one process or thread. Parameters
| N/A |
| Purpose Cancels kernel code profiling. Parameters
| N/A |
| Purpose Starts kernel code profiling. Parameters
| N/A |
| Purpose Stops kernel code profiling. Parameters
| N/A |
| Purpose Lets you get data containing the kernel code execution statistics received during profiling. Parameters
| N/A |
| Purpose Lets you get information about kernel code coverage. Parameters
| N/A |
| Purpose Output of data on kernel code coverage in Parameters
| N/A |
| Purpose Output of data on code coverage in Parameters
| N/A |
| Purpose Lets you get the values of performance counters. Parameters
| N/A |