The following trace hook IDs are stored in the /usr/include/sys/trchkid.h file.
This event is recorded by Logical Volume Manager for selected events.
Recorded Data
Event:
LVM rblocked: bp=value | Request blocked by conflict resolution |
LVM pend: bp=value resid=value error=value bflags | End of physical operation |
bp=value | Buffer pointer |
resid=value | Residual byte count |
error=value | System error number (the errno global variable) |
bflags | Buffer flags are defined in the sys/buf.h file. |
bflags Buffer flags are defined in the sys/buf.h file
filename File path name.
This event is recorded by the dispatcher when dispatching a thread of the idle process.
Recorded Data
dispatch: idle process pid=process id tid=thread id priority=priority old_tid=old thread id old_priority=old priority
process id | Process ID of the dispatched thread. |
thread id | Thread ID of the dispatched thread. |
priority | Priority of the dispatched thread. |
old thread id | Thread ID of the thread that dispatches. |
old priority | Priority of the thread that dispatches. |
This event is recorded by the kernel end of a file routine.
Recorded Data
KERN_EOF hookdata data
hookdata data | The data printed for this event is recorded in hexadecimal. |
This event is recorded by the kernel stderr routine.
Recorded Data
KERN_STERR hookdata data
hookdata data | The data recorded for the event is printed in hexadecimal. |
This event is recorded on each lock request.
Recorded Data
lock: sub-hook lock addr=lock lock status=content request_mode=mode return addr=address name=name
sub-hook | Possible values:
lock miss recu busy |
lock | Address of the lock. |
content | Content of the lock |
Possible values:
LOCK_WRITE
LOCK_READ
LOCK_UPGRADE
LOCK_DOWNGRADE
address - Return address of the call.
name
This event is recorded on each unlock request.
Recorded Data
unlock: lock addr=lock lock status=content return addr=address name=name
lock | Address of the lock. |
content | Content of the lock |
address | Return address of the call. |
name
This event is recorded when allocating a lock.
Recorded Data
lockalloc: lock addr=lock name=class.occurence return addr=address
lock | Address of the lock. |
class | Class name of the lock. |
occurence | Index of the lock in the class. |
address | Return address of the call. |
This event is recorded by the lock_set_recursive and lock_clear_recursive kernel services.
Recorded Data
SETRECURSIVE lock addr=lock return addr=address
CLEARRECURSIVE lock addr=lock return addr=address
lock | Address of the lock. |
address | Return address of the call. |
This event is recorded by the kernel xmalloc routine.
Recorded Data
xmalloc (size, align, heap)
size | Number of bytes to allocate |
align | Alignment characteristics for the allocated memory |
heap | Address of the heap from which memory is to be allocated. |
This event is recorded by the kernel xmfree routine.
Recorded Data
xfree (address, heap)
address | Address of area in memory to free |
heap | Address of the heap from which memory is to be allocated. |
This event is recorded by the forkcopy routine.
Recorded Data
vmm_forkcopy
This event is recorded by the kernel sendsignal routine.
Recorded Data
KERN_SENDSIGNAL hookdata data
hookdata data | The data recorded for this event is printed in hexadecimal. |
This event is recorded by the kernel rcvsignal routine.
Recorded Data
KERN_RCVSIGNAL hookdata data
hookdata data | The data recorded for this event is printed in hexadecimal. |
This event is recorded by the kernel lockl routine.
Recorded Data
KERN_LOCKL hookdata data
hookdata data | The data recorded for this event is printed in hexadecimal. |
This event is recorded by the sigreturn routine.
Recorded Data
KERN_SIGRETURN hookdata data
hookdata data | The data recorded for this event is printed in hexadecimal. |
This event is recorded by the sigdeliver routine.
Recorded Data
KERN_SIGDELIVER hookdata data
hookdata data | The data recorded for this event is printed in hexadecimal. |
This event is recorded by the kernel issig routine.
Recorded Data
issig
This event is recorded by the kernel set on ready queue routine.
Recorded Data
setrq: cmd=process name pid=process id tid=thread id priority=priority policy=policy
process name | Process name of the thread set on the ready queue. |
process id | Process ID of the thread set on the ready queue. |
thread id | Thread ID of the thread set on the ready queue. |
priority | Priority of the thread set on the ready queue. |
policy | Scheduling policy of the thread set on the ready queue. |
This event is recorded by the access subroutine.
Recorded Data
access mode=value
mode=value | Requested access. |
This event is recorded by the acct subroutine.
Recorded Data
acct fname=value
fname=value | File path name. |
This event is recorded by the alarm subroutine.
Recorded Data
alarm secs seconds
alarm off (zero seconds specified)
secs seconds | Number of seconds specified. |
This event is recorded by the close subroutine.
Recorded Data
close filename fd=value
filename | File path name |
fd=value | File descriptor. |
This event is recorded by the exec subroutine.
Recorded Data
File path name. |
filename | File path name. |
process id | Process ID. |
thread id | Thread ID. |
This event is recorded by the exit subroutine.
Recorded Data
exit wait_status=value lockct=value
wait_status=value | Wait status |
lockct=value | Lock count. |
This event is recorded by the fork subroutine.
Recorded Data
Process ID. |
process id | Process ID. |
thread id | Thread ID. |
This event is recorded by the getpgrp subroutine.
Recorded Data
GETPGRP
This event is recorded by the getpid subroutine.
Recorded Data
GETPID
This event is recorded by the getppid subroutine.
Recorded Data
GETPPID
This event is recorded by the ioctl subroutine.
Recorded Data
Event:
ioctl fd=value command=value arg=value
ioctl fd=value TCGETA
ioctl fd=value TCSETA
ioctl fd=value TCSETAW
ioctl fd=value TCSETAF
ioctl fd=value TCSBRK arg=value
ioctl fd=value TCXONC arg=value
ioctl fd=value TCXFLSH arg=value
fd=value | File descriptor. |
command=value
arg=value
This event is recorded by the kill subroutine.
Recorded Data
signal value | Signal name. |
to process process id | |
process name |