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.
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. |
device name | Device name |
bp=value | Buffer pointer |
lblock=value | Logical block number |
bcount=value | Byte count |
bflags | Buffer flags are defined in the sys/buf.h file |
opts: value | Possible values: |
device name | |||||
Device name | |||||
pblock=value | Physical block number | ||||
(lbp,pbp)=(lbp,pbp) | Description of variables:
| ||||
opts: value | Possible values: |
bflags Buffer flags are defined in the sys/buf.h file
This event is recorded by the dispatcher when dispatching a thread of the idle process.
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.
hookdata data | The data printed for this event is recorded in hexadecimal. |
This event is recorded by the kernel stderr routine.
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 |
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.
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.
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.
This event is recorded by the kernel sendsignal routine.
hookdata data | The data recorded for this event is printed in hexadecimal. |
This event is recorded by the kernel rcvsignal routine.
hookdata data | The data recorded for this event is printed in hexadecimal. |
This event is recorded by the kernel lockl routine.
hookdata data | The data recorded for this event is printed in hexadecimal. |
This event is recorded by the sigreturn routine.
hookdata data | The data recorded for this event is printed in hexadecimal. |
This event is recorded by the sigdeliver routine.
hookdata data | The data recorded for this event is printed in hexadecimal. |
This event is recorded by the kernel issig routine.
This event is recorded by the kernel set on ready queue routine.
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.
mode=value | Requested access. |
This event is recorded by the acct subroutine.
fname=value | File path name. |
This event is recorded by the alarm subroutine.
alarm off (zero seconds specified)
secs seconds | Number of seconds specified. |
This event is recorded by the close subroutine.
filename | File path name |
fd=value | File descriptor. |
This event is recorded by the exec subroutine.
File path name. |
filename | File path name. |
process id | Process ID. |
thread id | Thread ID. |
This event is recorded by the exit subroutine.
exit wait_status=value lockct=value
wait_status=value | Wait status |
lockct=value | Lock count. |
This event is recorded by the fork subroutine.
Process ID. |
process id | Process ID. |
thread id | Thread ID. |
This event is recorded by the getpgrp subroutine.
This event is recorded by the getpid subroutine.
This event is recorded by the getppid subroutine.
This event is recorded by the ioctl subroutine.
ioctl fd=value command=value arg=value
ioctl fd=value TCSBRK arg=value
ioctl fd=value TCXONC arg=value
ioctl fd=value TCXFLSH arg=value
fd=value | File descriptor. |
arg=value
This event is recorded by the kill subroutine.
signal value | Signal name. |
to process process id | |
process name |