Profiling endpoint
This endpoint is intended for profiling and collecting code coverage, and for receiving the 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 Gets information about code coverage. Parameters
| N/A |
| Purpose Output of data on code coverage in Parameters
| N/A |
| Purpose Output of data on code coverage in Parameters
| N/A |
| Purpose Gets the values of performance counters. Parameters
| N/A |
| Purpose Gets the values of performance counters for a system resource (process or thread). Parameters
| N/A |
| Purpose Starts sample code profiling. Sample profiling results in code execution statistics that reflect the duration of code section execution. Parameters
| N/A |
| Purpose Stops sample code profiling. Parameters
| N/A |
| Purpose Gets data containing the code execution statistics received from sample profiling. Parameters
| Gets the addresses and names of functions of other processes. |
| Purpose Adds a process to the list of profiled processes. Parameters
| N/A |
| Purpose Clears the list of profiled processes. Parameters
| N/A |
| Purpose Saves information about the loaded ELF image segment in the kernel. (This is necessary so that the code execution statistics received from sample profiling can contain additional information that lets you associate these statistics with the source code.) Parameters
| Allows the kernel memory to be used up by creating a multitude of objects within it. |
| Purpose Deletes information about the loaded ELF image segment that was saved in the kernel using the Parameters
| N/A |
| Purpose Allocates the resources required for collecting kernel code coverage data when handling system calls executed by the calling process. Parameters
| Exhausts RAM. |
| Purpose Frees the resources required for collecting kernel code coverage data when handling system calls executed by the calling process. Parameters
| N/A |
| Purpose Starts the collection of kernel code coverage data when handling system calls executed by the calling thread. Parameters
| N/A |
| Purpose Stops the collection of kernel code coverage data when handling system calls executed by the calling thread. Also gets information about kernel code coverage. Parameters
| N/A |