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

Trace Hook IDs: 3C5 through 3E2

3c5 : HKWD SYSC IPCACCESS

This event is recorded by the msgctl, msgrcv, msgsnd, semctl, semop, shmat, and shmctl subroutines.

Recorded Data

ipcaccess p->uid=value p->mode=value p->seq=value p->key=value mode=value

p->uid=value The user id of the ipc object creator.
p->mode=value The mode of the ipc object.
p->seq=value The slot usage sequence number of the ipc object.
p->key=value The key of the ipc object.
mode=value The mode being requested.

3c6 : HKWD SYSC IPCGET

This event is recorded by the msgget, semget and shmget subroutines.

Recorded Data

ipcget key=value flag=value base=value size=value *mark=value

key=value The key of the requested ipc object.
flag=value The get flags.
base=value The base address of the ipc object array.
size=value The size of each ipc object.
*mark=value The largest used index into the ipc object array.

3c7 : HKWD SYSC MSGCONV

This event is recorded by the msgctl, msgrcv, msgsnd and msgselect subroutines.

Recorded Data

msgconv msgid=value seq=value index=value qp=value

msgid=value The id of the message queue.
seq=value The slot usage sequence number of the message queue.
index=value The index into the message queue array.
qp=value The pointer to the message queue.

3c8 : HKWD SYSC MSGCTL

This event is recorded by the msgctl subroutine.

Recorded Data

msgctl msgid=value cmd=value buf=value

msgid=value The id of the message queue.
cmd=value The command to perform.
buf=value The buffer used by the command.

3c9 : HKWD SYSC MSGGET

This event is recorded by the msgget subroutine.

Recorded Data

msgget key=value msgflg=value msgid=value rval=value

key=value The key of the requested message queue.
msgflg=value The get flags.
msgid=value The id of the message queue.
rval=value The pointer to the message queue.

3ca : HKWD SYSC MSGRCV

This event is recorded by the msgrcv subroutine.

Recorded Data

msgrcv msgid=value msgp=value msgsz=value msgtyp=value msgflg=value

msgid=value The id of the message queue.
msgp=value The pointer to the message buffer.
msgsz=value The size of the message.
msgtyp=value The type of the message.
msgflg=value The receive flags.

3cb : HKWD SYSC MSGSELECT

This event is recorded by the msgselect subroutine.

Recorded Data

msgselect msgid=value corl=value reqevents=value rtneventsp=value

msgid=value The id of the message queue.
corl=value The correlator of the select.
reqevents=value The requested events
rtneventsp=value The buffer for recorded events.

3cc : HKWD SYSC MSGSND

This event is recorded by the msgsnd subroutine.

Recorded Data

msgsnd msgid=value msgp=value msgsz=value msgflg=value

msgid=value The id of the message queue.
msgp=value The pointer to the message buffer.
msgsz=value The size of the message.
msgflg=value The send flags.

3cd : HKWD SYSC MSGXRCV

This event is recorded by the msgxrcv subroutine.

Recorded Data

msgxrcv msgid=value msgp=value msgsz=value msgtyp=value msgflg=value

msgid=value The id of the message queue.
msgp=value The pointer to the message buffer.
msgsz=value The size of the message.
msgtyp=value The type of the message.
msgflg=value The receive flags.

3ce : HKWD SYSC SEMCONV

This event is recorded by the semctl, exit and semop subroutines.

Recorded Data

semconv semid=value seq=value index=value sp=value

semid=value The id of the semaphore set.
seq=value The slot usage sequence number of the message queue.
index=value The index into the semaphore set array.
sp=value The pointer to the semaphore set.

3cf : HKWD SYSC SEMCTL

This event is recorded by the semctl subroutine.

Recorded Data

semctl semid=value semnum=value cmd=value arg=value

semid=value The id of the semaphore set.
semnum=value The number of the semaphore in the set.
cmd=value The command to perform.
arg=value The argument to the command.

3d0 : HKWD SYSC SEMGET

This event is recorded by the semget subroutine.

Recorded Data

semget key=value nsems=value semflg=value sp=value

key=value The key of the requested semaphore set.
nsems=value The number of semaphores requested.
semflg=value The get flags.
sp=value Pointer to the semaphore set.

3d1 : HKWD SYSC SEMOP

This event is recorded by the semop subroutine.

Recorded Data

semop semid=value sops=value nsops=value

semid=value The id of the semaphore set.
sops=value The semaphore operations.
nsops=value The number of semaphore operations.

3d2 : HKWD SYSC SEM

This event is recorded by the semop subroutine.

Recorded Data

semop semid=value semval=value sem_num=value sem_op=value sem_flg=value

semid=value The id of the semaphore set.
semval=value The current semaphore value.
sem_num=value The semaphore number.
sem_op=value The semaphore operation.
sem_flg=value The operation flags.

3d3 : HKWD SYSC SHMAT

This event is recorded by the shmat subroutine.

Recorded Data

shmat shmid=value addr=value flag=value

shmid=value The id of the shared memory region.
addr=value The address to attach to.
flag=value The attach flags.

3d4 : HKWD SYSC SHMCONV

This event is recorded by the shmat and shmctl subroutines.

Recorded Data

shmconv shmid=value flg=value seq=value index=value sp=value

shmid=value The id of the shared memory region.
flg=value The operation flags.
seq=value The slot usage sequence number of the shared memory region.
index=value The index into the shared memory region array.
sp=value The pointer to the shared memory region.

3d5 : HKWD SYSC SHMCTL

This event is recorded by the shmctl subroutine.

Recorded Data

shmctl shmid=value cmd=value arg=value

shmid=value The id of the shared memory region.
cmd=value The command to perform.
arg=value The argument to the command.

3d6 : HKWD SYSC SHMDT

This event is recorded by the shmdt subroutine.

Recorded Data

shmdt addr=value

addr=value The address to detach from.

3d7 : HKWD SYSC SHMGET

This event is recorded by the shmget subroutine.

Recorded Data

shmget key=value size=value shmflg=value sp=value

key=value The id of the shared memory region.
size=value The size of the shared memory region.
shmflg=value The get flags.
sp=value The pointer to the shared memory region.

3d8 : HKWD SYSC MADVISE

This event is recorded by the madvise subroutine.

Recorded Data

madvise addr=value len=value behav=value

addr=value The address to advise on.
len=value The length of the region to advise on.
behav=value The behavior to advise.

3d9 : HKWD SYSC MINCORE

This event is recorded by the mincore subroutine.

Recorded Data

mincore addr=value len=value vec=value

addr=value The address to check.
len=value The length of the region to check.
vec=value The state of the pages.

3da : HKWD SYSC MMAP

This event is recorded by the mmap subroutine.

Recorded Data

mmap addr=value len=value prot=value flags=value fd=value

addr=value The address to map to.
len=value The length of the region to map.
prot=value The protection of the region to map.
flags=value The map flags.
fd=value The file descriptor to map.

3db : HKWD SYSC MPROTECT

This event is recorded by the mprotect subroutine.

Recorded Data

mprotect addr=value len=value prot=value

addr=value The address to protect.
len=value The length of the region to protect.
prot=value The protection requested.

3dc : HKWD SYSC MSYNC

This event is recorded by the msync subroutine.

Recorded Data

msync addr=value len=value

addr=value The address to sync.
len=value The length of the region to sync.

3dd : HKWD SYSC MUNMAP

This event is recorded by the munmap subroutine.

Recorded Data

munmap addr=value len=value

addr=value The address to unmap.
len=value The length of the region to unmap.

3de : HKWD SYSC MVALID

This event is recorded by the mvalid subroutine.

Recorded Data

mvalid addr=value len=value prot=value

addr=value The address to validate.
len=value The length of the region to validate.
prot=value The protection requested.

3df : HKWD SYSC MSEM_INIT

This event is recorded by the msem_init subroutine.

Recorded Data

msem_init msem=value msem_state=value msem_wanted=value initial_value=value

msem=value The pointer to the msemaphore.
msem_state=value The state of the msemaphore after.
msem_wanted=value Threads waiting on the msemaphore.
initial_value=value The initial value of the msemaphore

3e0 : HKWD SYSC MSEM_LOCK

This event is recorded by the msem_lock subroutine.

Recorded Data

msem_lock msem=value msem_state=value msem_wanted=value condition=value

msem=value The pointer to the msemaphore.
msem_state=value The current state of the msemaphore.
msem_wanted=value The threads waiting on the msemaphore.
condition=value The flags for the operation.

3e1 : HKWD SYSC MSEM_REMOVE

This event is recorded by the msem_remove subroutine.

Recorded Data

msem_remove msem=value msem_state=value msem_wanted=value

msem=value The pointer to the msemaphore.
msem_state=value The current state of the msemaphore.
msem_wanted=value The threads waiting on the msemaphore.

3e2 : HKWD SYSC MSEM_UNLOCK

This event is recorded by the msem_unlock subroutine.

Recorded Data

msem_unlock msem=value msem_state=value msem_wanted=value condition=value

msem=value The pointer to the msemaphore.
msem_state=value The current state of the msemaphore.
msem_wanted=value The threads waiting on the msemaphore.
condition=value The flags for the operation.

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