[ Previous | Next | Table of Contents | Index | Library Home |
Legal |
Search ]
General Programming Concepts: Writing and Debugging Programs
The following trace hook IDs are stored in the
/usr/include/sys/trchkid.h file.
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.
|
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.
|
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.
|
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.
|
This event is recorded by the
sbreak subroutine.
Recorded Data
| sbreak new dmax is
value
|
- new dmax is value
- Value of dmax.
|
This event is recorded by the
setpgid subroutine.
Recorded Data
| setpgid
pid=value pgrp=value
|
| pid=value
| Process ID
|
| pgrp=value
| Process group.
|
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.
|
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.
|
This event is recorded by the
sigcleanup subroutine.
Recorded Data
SIGCLEANUP
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.
|
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)
|
|
This event is recorded by the
usrinfo subroutine.
Recorded Data
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 | Table of Contents | Index |
Library Home |
Legal |
Search ]