[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
General Programming Concepts: Writing and Debugging Programs

Trace Hook IDs: 1A4 through 1BF

The following trace hook IDs are stored in the /usr/include/sys/trchkid.h file.

1A4 : HKWD SYSC GETRLIMIT

This event is recorded by the getrlimit subroutine.

Recorded Data

Event:

getrlimit resource=0 CPU TIME
getrlimit resource=1 MAX FILE SIZE
getrlimit resource=2 DATA SEGMENT SIZE
getrlimit resource=3 SIZE SIZE
getrlimit resource=4 CORE FILE SIZE
getrlimit resource=5 RESIDENT SET SIZE

1A5 : HKWD SYSC SETRLIMIT

This event is recorded by the setrlimit subroutine.

Recorded Data

Event:

setrlimit resource=0 CPU TIME
setrlimit resource=1 MAX FILE SIZE
setrlimit resource=2 DATA SEGMENT SIZE
setrlimit resource=3 SIZE SIZE
setrlimit resource=4 CORE FILE SIZE
setrlimit resource=5 RESIDENT SET SIZE

1A6 : HKWD SYSC GETRUSAGE

This event is recorded by the getrusage subroutine.

Recorded Data

Event:

getrusage who=value of self
getrusage who=value of children
who=value Possible values:

RUSAGE_SELF

RUSAGE_CHILDREN

1A7 : HKWD SYSC GETPRIORITY

This event is recorded by the getpriority subroutine.

Recorded Data

Event:

getpriority of process process id process name
getpriority of process group process id process name
getpriority of uid (current process)

1A8 : HKWD SYSC SETPRIORITY

This event is recorded by the setpriority subroutine.

Recorded Data

Event:

setpriority of process process id process name
setpriority of process group process id process name
setpriority of uid (current process)

1A9 : HKWD SYSC ABSINTERVAL

This event is recorded by the absinterval subroutine.

Recorded Data

absinterval timerid=value
timerid=value Timer identifier.

1AA : HKWD SYSC GETINTERVAL

This event is recorded by the getinterval subroutine.

Recorded Data

getinterval timerid=value
timerid=value Timer identifier.

1AB : HKWD SYSC GETTIMER

This event is recorded by the gettimer subroutine.

Recorded Data

gettimer timer_type=value
timer_type=value Timer type.

1AC : HKWD SYSC INCINTERVAL

This event is recorded by the incinterval subroutine.

Recorded Data

incinterval timerid=value
timerid=value Timer identifier.

1AD : HKWD SYSC RESTIMER

This event is recorded by the restimer subroutine.

Recorded Data

restimer timer_type=value
timer_type=value Timer type.

1AE : HKWD SYSC RESABS

This event is recorded by the resabs subroutine.

Recorded Data

resabs timer_type=value
timer_type=value Timer type.

1AF : HKWD SYSC RESINC

This event is recorded by the resinc subroutine.

Recorded Data

resinc timer_type=value
timer_type=value Timer type.

1B0 : HKWD VMM ASSIGN

This event is recorded by the virtual memory manager.

Recorded Data

VMM page assign: V.S=value.value ppage=value segment state Assign a real page frame to a segment
V.S=value.value Virtual page number and virtual memory identifier
ppage=value Real page frame number
segment state Segment state information:
WS Working storage
WS_delete Working storage with delete pending
delete_pending
delete_in_progress
delete_when_iodone
working_storage
client_segment
persistent_storage
journalled
log
deferred_update
system_segment
pta_segment
hidden
commit_in_progress
modified
(type 0) Page-protection bits = 00
(type 1) Page-protection bits = 01
(type 2) Page-protection bits = 02
(type 3) Page-protection bits = 03.

1B1 : HKWD VMM DELETE

This event is recorded by the virtual memory manager.

Recorded Data

VMM page delete: V.S=value.value ppage=value segment state Delete real page frame from a segment
V.S=value.value Virtual page number and virtual memory identifier
ppage=value Real page frame number
segment state Segment state information.

1B2 : HKWD VMM PGEXCT

This event is recorded by the virtual memory manager.

Recorded Data

VMM pagefault: V.S=value.value segment state Page fault (other than protection fault or hardware lock-miss faults)
V.S=value.value Virtual page number and virtual memory identifier
segment state Segment state information.

1B3 : HKWD VMM PROTEXCT

This event is recorded by the virtual memory manager.

Recorded Data

VMM protection fault: V.S=value.value ppage=value segment state Page-protection fault
V.S=value.value Virtual page number and virtual memory identifier
ppage=value Real page frame number
segment state Segment state information.

1B4 : HKWD VMM LOCKEXCT

This event is recorded by the virtual memory manager.

Recorded Data

VMM lockmiss: V.S=value.value ppage=value segment state Hardware lock miss
V.S=value.value Virtual page number and virtual memory identifier
ppage=value Real page frame number
segment state Segment state information.

1B5 : HKWD VMM RECLAIM

This event is recorded by the virtual memory manager.

Recorded Data

VMM reclaim: V.S=value.value ppage=value segment state Reclaim a page in the I/O state
V.S=value.value Virtual page number and virtual memory identifier
ppage=value Real page frame number
segment state Segment state information.

1B6 : HKWD VMM GETPARENT

This event is recorded by the virtual memory manager.

Recorded Data

VMM getparent: V.S=value.value ppage=value segment state Move a page from the parent segment to the child segment
V.S=value.value Virtual page number and virtual memory identifier
ppage=value Real page frame number
segment state Segment state information.

1B7 : HKWD VMN COPYPARENT

This event is recorded by the virtual memory manager.

Recorded Data

VMM copyparent: V.S=value.value ppage=value segment state
V.S=value.value Virtual page number and virtual memory identifier
ppage=value Real page frame number
segment state Segment state information.

1B8 : HKWD VMN VMAP

This event is recorded by the virtual memory manager.

Recorded Data

VMM vmapped page: V.S=value.value ppage=value segment state Page fault on a page mapped from the source segment to a target segment
V.S=value.value Virtual page number and virtual memory identifier
ppage=value Real page frame number
segment state Segment state information.

1B9 : HKWD VMN ZFOD

This event is recorded by the virtual memory manager.

Recorded Data

VMM zero filled page: V.S=value.value ppage=value segment state Zero-filled on the demand page fault
V.S=value.value Virtual page number and virtual memory identifier
ppage=value Real page frame number
segment state Segment state information.

1BA : HKWD VMN SIO

This event is recorded by the virtual memory manager.

Recorded Data

VMM start io: V.S=value.value ppage=value segment state bp=value bflags Start I/O for a page
V.S=value.value Virtual page number and virtual memory identifier
ppage=value Real page frame number
segment state Segment state information
bp=value Buffer pointer
bflags Buffer flags:
B_READ Pagein operation
B_WRITE Pageout operation.

1BB : HKWD VMM SEGCREATE

This event is recorded by the virtual memory manager.

Recorded Data

VMM segment creation: S=value segment state Creation of a virtual memory object
S=value Virtual memory object identifier
segment state Segment state information.

1BC : HKWD VMM SEGDELETE

This event is recorded by the virtual memory manager.

Recorded Data

VMM segment deletion: S=value segment state Deletion by the virtual memory manager
S=value Virtual memory object identifier
segment state Segment state information.

1BD : HKWD VMM DALLOC

This event is recorded by the virtual memory manager.

Recorded Data

NOWRAP>VMM disk allocation: V.S=value.value dblk=dblk segment state pdtx/devid=value Logical disk block allocation
V.S=value.value Virtual page number and virtual memory object identifier
dblk=dblk Logical disk block number
segment state Segment state information
pdtx/devid=value Paging device table index (file system) or device ID (paging space).

1BE : HKWD VMM PFEND

This event is recorded by the virtual memory manager.

Recorded Data

VMM page fault end: V.S=V.S ppage=value segment state error=error bflag=bflag Virtual memory manager I/O done
V.S=V.S Virtual page number and virtual memory identifier
ppage=value Real page frame number
segment state Segment state information
error=error Exception value
bflag=bflag Possible buffer flags:
B_READ Pagein operation
B_WRITE Pageout operation.

1BF : HKWD VMM EXCEPT

This event is recorded by the virtual memory manager.

Recorded Data

VMM exception: sregval=sregval vaddr=vaddr segment state error=error pid=pid Exception within the virtual memory manager
sregval=sregval Segment register value
vaddr=vaddr Virtual address
segment state Segment state information
error=error Exception value
pid=pid Process ID of the process receiving the exception.

[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]