[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs

Trace Hook IDs: 152 through 19C

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

152 : HKWD SYSC LOCKF

This event is recorded by the lockf subroutine.

Recorded Data

Event:

lockf filename fd=value unlock value bytes
lockf filename fd=value lock_wait value bytes
lockf filename fd=value lock_busy value bytes
filename File path name
fd=value File descriptor
value bytes Number of bytes.

154 : HKWD SYSC LSEEK

This event is recorded by the lseek subroutine.

Recorded Data

Event:

lseek fd=file descriptor to offset
lseek fd=file descriptor relative offset
lseek fd=file descriptor relative offset from end of file
lseek fd=file descriptor offset=offset whence=whence (whence)
fd=file descriptor File descriptor
offset=offset Offset into file
relative offset Offset into file
whence=whence
Value Meaning
0 From beginning
1 From current offset
2 From end of file.

15F : HKWD SYSC PIPE

This event is recorded by the pipe subroutine.

Recorded Data

pipe read_fd=value write_fd=value
read_fd=value Read file descriptor
write_fd=value Write file descriptor.

160 : HKWD SYSC PLOCK

This event is recorded by the pblock subroutine.

Recorded Data

Event:

pblock process UNLOCK
pblock process PROCESS LOCK
pblock process TEXT SEGMENT LOCK
pblock process DATA SEGMENT DATLOCK
process Process name.

169 : HKWD SYSC SBREAK

This event is recorded by the sbreak subroutine.

Recorded Data

sbreak new dmax is value
new dmax is value Value of dmax.

16E : HKWD SYSC SETPGRP

This event is recorded by the setpgid subroutine.

Recorded Data

setpgid pid=value pgrp=value
pid=value Process ID
pgrp=value Process group.

16F : HKWD SYSC SETPRIO

This event is recorded by the sbreak subroutine.

Recorded Data

SBREAK SUBROUTINE hookdata data
hookdata data The data recorded for this event is printed in hexadecimal.

180 : HKWD SYSC SIGACTION

This event is recorded by the sigaction subroutine.

Recorded Data

sigaction signal value mask=value
signal value Signal number and name
mask=value sigaction mask.

181 : HKWD SYSC SIGCLEANUP

This event is recorded by the sigcleanup subroutine.

Recorded Data

SIGCLEANUP

18E : HKWD SYSC TIMES

This event is recorded by the times subroutine.

Recorded Data

TIMES subroutine times u=value s=value cu=value cs=value (ticks)
u=value The CPU time (in ticks) used while executing instructions in the user space of the calling process
s=value The CPU time (in ticks) used by the system on behalf of the calling process
cu=value The CPU time (in ticks) used while executing instructions in the user space of child processes of the calling process
cs=value The CPU time (in ticks) used by the system on behalf of child processes of the calling processes.

18F : HKWD SYSC ULIMIT

This event is recorded by the ulimit subroutine.

Recorded Data

Event:

ulimit get fsize
ulimit set fsize to newlimit
ulimit get data limit
ulimit set data limit to newlimit
ulimit get stack
ulimit set stack limit to newlimit
ulimit get RAWDIR compatibility mode (REALDIR)
ulimit clear RAWDIR compatibility mode (REALDIR)
ulimit set RAWDIR compatibility mode (REALDIR)
ulimit get TRUNCATE compatibility mode (SYSVLOOKUP)
ulimit clear TRUNCATE compatibility mode (SYSVLOOKUP)
ulimit set TRUNCATE compatibility mode (SYSVLOOKUP)

195 : HKWD SYSC USRINFO

This event is recorded by the usrinfo subroutine.

Recorded Data

usrinfo

19B : HKWD SYSC WAIT

This event is recorded by the wait subroutine.

Recorded Data

wait rv=value pflag=value wstat=value
rv=value Value of the rv argument
pflag=value Wait operation
wstat=value Returned status.

[ Previous | Next | Contents | Glossary | Home | Search ]