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

Trace Hook IDs: 212 through 220

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

212 : HKWD NFS VOPS

This event is recorded by the client NFS routine entry points.

Recorded Data

Event:

NFS_LOOKUP filename

NFS_CREATE filename

NFS_REMOVE filename

NFS_LINK filename

NFS_RENAME from: filename

NFS_RENAME to: filename

NFS_MKDIR filename

NFS_RMDIR filename

NFS_SYMLINK from: filename

NFS_SYMLINK to: filename

NFS_SELECT filename

NFS_LOOKUP vnode=vnode

NFS_OPEN filename

NFS_CLOSE filename

NFS_IOCTL filename

NFS_GETATTR filename

NFS_SETATTR filename

NFS_ACCESS filename

NFS_CREATE filename

NFS_REMOVE filename

NFS_LINK filename

NFS_RENAME filename

NFS_MKDIR filename

NFS_RMDIR filename

NFS_READDIR filename

NFS_SYMLINK filename

NFS_READLINK filename

NFS_FSYNC filename

NFS_INACTIVE filename

NFS_BMAP filename

NFS_BADOP

NFS_STRATEGY filename

NFS_LOCKCTL filename

NFS_NOOP

NFS_CMP filename

filename File path name
vnode=vnode v_node.

213 : HKWD NFS RFSRW

This event is recorded by the server NFS read/write routines.

Recorded Data

RFS_READ seqno=seqno filename vnode count=count offset=offset Server read request
RFS_WRITE seqno=seqno filename vnode count=count offset=offset Server write request
seqno=seqno Sequence number to match client call
filename File path name
vnode v_node of file
count=count Number of bytes to read or write
offset=offset Offset in file to read or write.

214 : HKWD NFS RFS

This event is recorded by the server NFS routine entry points.

Recorded Data

Event:

RFS_LOOKUP filename

RFS_LOOKUP filename

RFS_CREATE filename

RFS_REMOVE filename

RFS_RENAME from: filename

RFS_RENAME to: filename

RFS_LINK filename

RFS_SYMLINK from: filename

RFS_SYMLINK to: filename

RFS_MKDIR filename

RFS_RMDIR filename

RFS_NULL seqno=seqno

RFS_GETATTR seqno=seqno filename

RFS_SETATTR seqno=seqno filename

RFS_ERROR

RFS_LOOKUP seqno=seqno filename

RFS_READLINK seqno=seqno filename

RFS_CREATE seqno=seqno filename

RFS_REMOVE seqno=seqno filename

RFS_RENAME seqno=seqno filename filename

RFS_LINK seqno=seqno filename filename

RFS_SYMLINK seqno=seqno filename

RFS_MKDIR seqno=seqno filename

RFS_RMDIR seqno=seqno filename

RFS_READDIR seqno=seqno filename

RFS_STATFS seqno=seqno filename

filename File path name
seqno=seqno Sequence number to match client call.

215 : HKWD NFS DISPATCH

This event is recorded by the server dispatch routine entry and exit.

Recorded Data

Event:

RFS_DISP_ENTRY seqno=seqno client=client
NOWRAP>RFS_DISP_EXIT seqno=seqno client=client dispcode
seqno=seqno Sequence number to match calls to client-side request
client=client IP address of client
dispcode Routine called on the server:

NULL

GETATTR

SETATTR

LOOKUP

READLINK

READ

WRITE

CREATE

REMOVE

RENAME

LINK

SYMLINK

MKDIR

RMDIR

READDIR

STATFS

216 : HKWD NFS CALL

This event is recorded by the NFS call routine entry and exit.

Recorded Data

Event:

NFS_CALL_ENTRY seqno=seqno server=server

NFS_CALL_EXIT seqno=seqno server=server

seqno=seqno Sequence number to track call on server
server=server Server IP address.

218 : HKWD RPC LOCKD

This event is recorded by the RPC lockd routine entry points.

Recorded Data

Event:

LOCKD_KLM_PROG proc=proc pid=pid cookie=cookie port=port Entry point for remote lock requests coming from the kernel
LOCKD_NLM_REQUEST proc=proc to addr cookie=cookie pid=pid Entry point for incoming lock request on the network
LOCKD_NLM_RESULTS proc=proc to addr cookie=cookie result=result Entry point for responses coming over the network
LOCKD_KLM_REPLY proc=proc stat=stat cookie=cookie Entry point for lockd reply to kernel
LOCKD_NLM_REPLY proc=proc to addr stat=stat cookie=cookie Entry point for lockd reply to network
LOCKD_NLM_CALL proc=proc cookie=cookie pid=pid retransmit=retransmit Entry point for sending lock request over the network
LOCKD_CALL_UDP to addr proc=proc program=program version=version Entry point for send udp request for RPC.lockd.
proc=proc RPC procedure number
pid=pid Process ID
cookie=cookie Internal RPC.lockd counter
port=port Socket port
to addr Internet address
result=result Result for a previous request
stat=stat RPC.lockd reply status
retransmit=retransmit Value of retransmit flag
program=program RPC program number
version=version RPC version number.

220 : HKWD DD FDDD

This event is recorded by the diskette device driver.

Recorded Data

Event:

FDDD entry_open: errno: errno devno: devno rwflag: rwflag chan: chan ext: ext

FDDD exit_open: errno: errno devno: devno

FDDD entry_close: errno: errno devno: devno

FDDD exit_close: errno: errno devno: devno

FDDD entry_read: errno: errno devno: devno

FDDD exit_read: errno: errno devno: devno

FDDD entry_write: errno: errno devno: devno

FDDD exit_write: errno: errno devno: devno

FDDD entry_ioctl: errno: errno devno: devno op: ioctl op flag: ioctl flag chan: chan ext: ext

FDDD exit_ioctl: errno: errno devno: devno

FDDD entry_select: errno: errno devno: devno

FDDD exit_select: errno: errno devno: devno

FDDD entry_config: errno: errno devno: devno op: config op

FDDD exit_config: errno: errno devno: devno

FDDD entry_strategy: errno: errno devno: devno bp: bp flags: strategy flags block: block bcount: bcount

FDDD exit_strategy: errno: errno devno: devno

FDDD entry_mpx: errno: errno devno: devno

FDDD exit_mpx: errno: errno devno: devno name: name chan: chan oflag: mpx oflag

FDDD entry_revoke: errno: errno devno: devno

FDDD exit_revoke: errno: errno devno: devno

FDDD entry_intr: errno: errno devno: devno

FDDD exit_intr: errno: errno devno: devno

FDDD entry_bstart: errno: errno devno: devno bp: bp pblock: pblock bcount: bcount bflags

FDDD exit_bstart: errno: errno devno: devno

FDDD entry_cstart: errno: errno devno: devno

FDDD exit_cstart: errno: errno devno: devno

FDDD entry_iodone: errno: errno devno: devno

FDDD exit_iodone: errno: errno devno: devno

FDDD iodone: device name bp: bp

errno: errno Error number
devno: devno Major and minor device number
rwflag: rwflag Possible values:
FREAD Device is opened read-only
FWRITE Device is opened read-write.
chan: chan Channel
ext: ext Extension
op: ioctl op ioctl operation
flag: ioctl flag Address of users argument structure
op: config op Possible values:
CFG_INIT Configures the device
CFG_TERM Unconfigures the device.
bp: bp Buffer pointer
flags: strategy flags Buffer flags field in the buf structure
block: block Physical block number
bcount: bcount    Number of bytes to transfer
name: name Path-name extension of multiplex channel to be allocated
oflag: mpx flag
pblock: pblock Physical block
bflags Buffer flags are defined in the sys/buf.h file.

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