The _NTO_TRACE_SYSTEM class includes events related to the system as a whole.
Event | traceprinter label | IDE label | Emitted when: |
---|---|---|---|
_NTO_TRACE_SYS_ADDRESS | ADDRESS | Address | A breakpoint is hit |
_NTO_TRACE_SYS_APS_BNKR | APS_BANKRUPTCY | APS Bankruptcy | An adaptive partition exceeded its critical budget |
_NTO_TRACE_SYS_APS_BUDGETS | APS_NEW_BUDGET | APS Budgets | SchedCtl() is called with a command of SCHED_APS_CREATE_PARTITION or SCHED_APS_MODIFY_PARTITION. Also emitted automatically when the adaptive partitioning scheduler clears a critical budget as part of handling a bankruptcy. |
_NTO_TRACE_SYS_APS_NAME | APS_NAME | APS Name | SchedCtl() is called with a command of SCHED_APS_CREATE_PARTITION |
_NTO_TRACE_SYS_COMPACTION | COMPACTION | Compaction | The memory defragmentation compaction_minimal algorithm is triggered (see "Defragmenting physical memory" in the Process Manager chapter of the System Architecture guide) |
_NTO_TRACE_SYS_FUNC_ENTER | FUNC_ENTER | Function Enter | A function that's instrumented for profiling is entered |
_NTO_TRACE_SYS_FUNC_EXIT | FUNC_EXIT | Function Exit | A function that's instrumented for profiling is exited |
_NTO_TRACE_SYS_MAPNAME | MAPNAME | MMap Name | dlopen() is called |
_NTO_TRACE_SYS_MMAP | MMAP | MMap | mmap() or mmap64() is called |
_NTO_TRACE_SYS_MUNMAP | MUNMAP | MMUnmap | munmap() is called |
_NTO_TRACE_SYS_PATHMGR | PATHMGR_OPEN | Path Manager | An operation involving a path name — such as open() — that's routed via the libc connect function occurs. The connect function sends a message to procnto to resolve the path and find the set of resource managers that could potentially match the path. It's upon receiving this message that procnto emits this event. |
_NTO_TRACE_SYS_SLOG | SLOG | System Log | A message is written to the system log |
You can use the following convenience functions to insert certain System events into the trace data: