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

Trace Hook IDs: 271 through 280

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

271: HKWD SNA API

This error is logged by the SNA Services upon entry and exit of the SNA API command routines.

Recorded Data

Event:

SNA API Commands Entry SNA_API Open Connection ID=cid Resource ID=rid Buffer Address=buf Buffer Length=len

SNA API Commands Exit SNA_API Open Connection ID=cid Resource ID=rid Buffer Address=buf Return Code=rc

SNA API Commands Entry SNA_API Close Connection ID=cid Resource ID=rid Buffer Address=buf Buffer Length=len

SNA API Commands Exit SNA_API Close Connection ID=cid Resource ID=rid Buffer Address=buf Return Code=rc

SNA API Commands Entry SNA_API IOCTL Connection ID=cid Resource ID=rid Buffer Address=buf Buffer Length=len Request=ioctl req

SNA API Commands Exit SNA_API IOCTL Connection ID=cid Resource ID=rid Buffer Address=buf Return Code=rc Request=ioctl req

SNA API Commands Entry SNA_API Write Connection ID=cid Resource ID=rid Buffer Address=buf Buffer Length=len

SNA API Commands Exit SNA_API Write Connection ID=cid Resource ID=rid Buffer Address=buf Return Code=rc

SNA API Commands Entry SNA_API Read Connection ID=cid Resource ID=rid Buffer Address=buf Buffer Length=len

SNA API Commands Exit SNA_API Read Connection ID=cid Resource ID=rid Buffer Address=buf Return Code=rc

SNA API Commands Entry SNA_API MPX Connection ID=cid Resource ID=rid Buffer Address=buf Buffer Length=len

SNA API Commands Exit SNA_API MPX Connection ID=cid Resource ID=rid Buffer Address=buf Return Code=rc

SNA API Commands Entry SNA_API Select Connection ID=cid Resource ID=rid Buffer Address=buf Buffer Length=len Request=select req

SNA API Commands Exit SNA_API Select Connection ID=cid Resource ID=rid Buffer Address=buf Return Code=rc Request=select req

SNA API Commands Entry SNA_API Config Connection ID=cid Resource ID=rid Buffer Address=buf Buffer Length=len Request=config req

SNA API Commands Exit SNA_API Config Connection ID=cid Resource ID=rid Buffer Address=buf Return Code=rc Request=config req

Connection ID=cid Connection identifier
Resource ID=rid Resource identifier
Buffer Address=buf Buffer address
Buffer Length=len Buffer length
Return Code=rc SNA return code as defined in the luxsna.h file
Request=icoctl req ioctl operation:

Allocate

Deallocate

Confirm

Confirmed

Flush

Prepare_To_Receive

Request_To_Send

Send_FMH

Send_Error

Get_Attribute

Send_Status

Get_Status

CP_Status

Allocate_Listen

Get_Parameters

Request=select req Select operation:

Asynchronous - Read

Asynchronous - Write

Asynchronous - Write,Read

Asynchronous - Exception

Asynchronous - Exception,Read

Asynchronous - Exception,Write

Asynchronous - Exception,Write,Read

Synchronous - Read

Synchronous - Write

Synchronous - Write,Read

Synchronous - Exception

Synchronous - Exception,Read

Synchronous - Exception,Write

Synchronous - Exception,Write,Read

Request=config req Configuration operation:

Initiate

Terminate

Query

280: HKWD HIA

This error is logged by the HIA device driver.

Recorded Data

Event:

HIADD Ccls Entry to device close routine:
d1=d1   Device minor number
d2=d2   Session address number
d3=d3   Pointer to close extension structure, if any.
HIADD CclE Exit from device close routine:
d1=d1   Status of link.
HIADD IinS Entry to top half of device head interrupt handler routine:
d1=d1   Session address number
d2=d2   Operation results passed up from device handler
d3=d3   Interrupt type passed up from device handler.
HIADD IinE Exit to top half of device head interrupt handler routine:

d1=d1

Session address number.

HIADD IioS

Entry to ioctl routine:

d1=d1

Device minor number

d2=d2

ioctl command parameter

d3=d3

Pointer to ioctl arg parameter

d4=d4

Value of ioctl flag parameter.

HIADD Iio1 Second trace point for start of ioctl entry point:

d1=d1

Session address number.

HIADD IioE Exit of ioctl routine:

d1=d1

Link address status.

HIADD MpxS Entry to mpx routine:

d1=d1

Device minor number

d2=d2

Session address number

d3=d3

First character of channel name

d4=d4

State of the DDS.

HIADD MpxE Exit mpx routine:

d1=d1

Device minor number

d2=d2

Address of session address number

d3=d3

Address of channel name string

d4=d4

Session address number.

HIADD OpeS Entry to open routine:

d1=d1

Device minor session

d2=d2

Read/write flag

d3=d3

Session address number

d4=d4

Address of DDS.

HIADD OpeE Exit open routine:

d1=d1

Address of DDS

d2=d2

Session address number.

HIADD RrdS Entry to read routine:

d1=d1

State of DDS

d2=d2

Session address number

d3=d3

Address of ext structure, used with the readx subroutine.

HIADD RrdE Exit read routine:

d1=d1

Value entry point will return

d2=d2

Value of link address IO flag

d3=d3

Status of link address IO.

HIADD SslS Entry to select routine:

d1=d1

Device number

d2=d2

Events to select on

d3=d3

Session address number.

HIADD SslE Exit select routine:

d1=d1

Device number

d2=d2

Events to select on

d3=d3

Status of events selected on

d4=d4

Session address number.

HIADD WwrS Entry to write routine:

d1=d1

State of DDS

d2=d2

Session address number

d3=d3

Address of ext structure, used with the writex subroutine.

HIADD WwrE Exit write routine:

d1=d1

Status of link

d2=d2

Value of link address IO flag

d3=d3

Status of link address IO

d4=d4

Return value for entry point.

HIADD CDDs Entry for hia configuration:

d1=d1

Device number

d2=d2

Configuration command

d3=d3

Flag indicating if this is first open.

HIADD CDDe Exit hia configuration routine:

d1=d1

Return value.

HIADD INTO Device handler I/O routine:

d1=d1

Interrupt status.

HIADD INT2 Beginning of device handler I/O routine:

d1=d1

stb

d2=d2

icc

d3=d3

ccb

d4=d4

lda.

HIADD INT3 Beginning of device handler I/O routine:

d1=d1

count

d2=d2

ipf

d3=d3

vda[0]

d4=d4

vda[1].

HIADD INTz Beginning of device handler I/O routine:

d1=d1

xrc.

HIADD INT6 Beginning of device handler I/O routine:

d1=d1

Type of IO requested

d2=d2

Address of link address structure.

HIADD INT9 Unrecognized interrupt.
HIADD IIOs Entry to I/O handler portion of bottom half:

d1=d1

Session number

d2=d2

Type of IO requested.

HIADD IIOe Exit to I/O handler portion of bottom half:

d1=d1

Return value.

HIADD RIO0 Entry to routine to update the romp to hia area to send the hia a new command:

d1=d1

Interrupt pending flag value

d2=d2

Command control byte

d3=d3

Flag byte

d4=d4

Minor session number of the link address.

HIADD RIO1 Entry to routine to update the romp to hia area to send the hia a new command:

d1=d1

Size of the data to transfer

d2=d2

Address of the buffer to transfer

d3=d3

Variable data area.

HIADD RIO2 Routine to update the romp to hia area to send the hia a new command:

d1=d1

First byte of the buffer

d2=d2

In-use flag of the buffer

d3=d3

Count of data for transfer

d4=d4

Offset of data in buffer.

HIADD RIO3 Routine to update the romp to hia area to send the hia a new command:

d1=d1

dma base

d2=d2

dma channel ID

d3=d3

dma memory block.

HIADD RIO4 Routine to update the romp to hia area to send the hia a new command:

d1=d1

First byte of data

d2=d2

Second byte of data

d3=d3

Third byte of data

d4=d4

Fourth byte of data.

HIADD RIO5 End of routine to update the romp to hia area to send the hia a new command.
HIADD SOFs Entry to the main off-level routine:

d1=d1

Type of interrupt processing, should be 70 to indicate off-level

d2=d2

Address of DDS.

HIADD SOFe Exit from the main off-level routine.
HIADD YOF1 Entry to routine to handle interrupt to indicate statistical data has been reported by the hia:

d1=d1

Count

d2=d2

Session address number

d3=d3

Status

d4=d4

Address of read buffer.

HIADD stmr Routine to set timers:

d1=d1

Timer ID

d2=d2

Time count.

HIADD utmr Routine to cancel timers:

d1=d1

Timer ID.


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