Chapter 2. Context Functions
Table of Contents
- print_regs —
Print a register dump.
- execname —
Execname of current processes
- pid —
Process ID of current process
- tid —
Thread ID of current process
- ppid —
Parent Process ID of current process
- pexecname —
Execname of the parent process.
- gid —
Group ID of current process
- egid —
Effective gid of the current process.
- uid —
User ID of the current process.
- euid —
Effective User ID of the current process.
- cpu —
The current cpu number.
- pp —
Current probe point
- registers_valid —
Register information valid
- user_mode —
User Mode
- is_return —
Is return probe
- target —
Target pid
- stack_size —
Size of kernel stack
- stack_used —
Current amount of kernel stack used
- stack_unused —
Amount of kernel stack currently available
- print_stack —
Print out stack from string
- probefunc —
Function probed
- probemod —
Module probed
- print_backtrace —
Print stack back trace
- backtrace —
Hex backtrace of current stack
- caller —
Return name and address of calling function
- caller_addr —
Return caller address
The context functions provide additional information about the where
the event occurred.
These functions can provide information such as a backtrace
where the event occured
and the current register values for the processor.