System class: _NTO_TRACE_SYSTEM
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_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_IPI, _NTO_TRACE_SYS_IPI_64 | IPI |
IPI |
An interprocessor interrupt is received |
| _NTO_TRACE_SYS_MAPNAME, _NTO_TRACE_SYS_MAPNAME_64 | MAPNAME |
Map Name |
dlopen() is called. Note that the kernel generates only _NTO_TRACE_SYS_MAPNAME_64 events, even for 32-bit processes. |
| _NTO_TRACE_SYS_MMAP | MMAP |
MMap |
mmap() or mmap64() is called |
| _NTO_TRACE_SYS_MUNMAP | MUNMAP |
MMUnmap |
munmap() is called |
| _NTO_TRACE_SYS_PAGEWAIT | PAGEWAIT |
Pagewait |
A page fault is being handled |
| _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_POWER | POWER |
Power |
A CPU enters or exits idle mode |
| _NTO_TRACE_SYS_PROFILE, _NTO_TRACE_SYS_PROFILE_64 | PROFILE |
Profile |
Every clock tick, if statistical profiling is enabled |
| _NTO_TRACE_SYS_RUNSTATE | RUNSTATE |
Runstate |
The runstate for a CPU changes |
| _NTO_TRACE_SYS_SLOG | SLOG |
System Log |
A message is written to the system log |
| _NTO_TRACE_SYS_TIMER | TIMER |
Timer |
A timer expires |
You can use the following convenience functions to insert certain System events into the trace data:
- trace_func_enter()
- Insert an _NTO_TRACE_SYS_FUNC_ENTER event for a function
- trace_func_exit()
- Insert an _NTO_TRACE_SYS_FUNC_EXIT event for a function
- trace_here()
- Insert an _NTO_TRACE_SYS_ADDRESS event for the current address
Page updated:
