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

Trace Hook IDs: 411 through 418

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

411: HKWD STTY STRTTY

This event is recorded by the tty stream head.

Recorded Data

Events:

(maj, min) sth revoke flag flag

(maj, min) sth ioctl osr osr cmd ioctl_cmd

(maj, min) sth event ret ret from line line

(maj, min) Major and minor device number.
flag flag Result of a frevoke or revoke system call.
osr osr Pointer to a structure representing the operating system request.
cmd ioctl_cmd Symbolic name of the ioctl command.
event One of the recorded event. Possible values:

revoke

ioctl

ret ret Function's return value.
from line line Function's return line number.

412: HKWD STTY LDTERM

This event is recorded by the ldterm line discipline module.

Recorded Data

(maj, min) ldterm config cmd cmd

(maj, min) ldterm open ptr ptr mode: mode sflag: sflag

(maj, min) ldterm close ptr ptr mode: mode

(maj, min) ldterm wput ptr ptr msg msg msg_type type

(maj, min) ldterm rput ptr ptr msg msg msg_type type

(maj, min) ldterm wsrv ptr ptr q_count count

(maj, min) ldterm rsrv ptr ptr q_count count

(maj, min) ldterm ioctl ptr ptr cmd ioctl_cmd

(maj, min) ldterm event ret ret from line line

(maj, min) Major and minor device number.
cmd cmd Configuration command. Possible values:

CFG_INIT

CFG_TERM

ptr ptr Pointer to the module's private structure (the ldtty structure).
mode: mode Open mode of the stream. Possible values:

READ

WRITE

NONBLOCK

EXCL

NOCTTY

NDELAY

sflag: sflag Possible values:

0

MODOPEN

CLONEOPEN

msg msg Message to be processed.
msg_type type Message type. Possible values:

M_DATA

M_PROTO

M_BREAK

M_SIG

M_DELAY

M_CTL

M_IOCTL

M_SETOPS

q_count count Total amount of data in the queue.
cmd ioctl_cmd Symbolic name of the ioctl command.
event One of the recorded event. Possible values:

config

open

close

wput

rput

wsrv

rsrv

ioctl

ret ret Function's return value.
from line line Function's return line number.

413: HKWD STTY SPTR

This event is recorded by the sptr serial printer module.

Recorded Data

(maj, min) sptr config cmd cmd

(maj, min) sptr open ptr ptr mode: mode sflag: sflag

(maj, min) sptr close ptr ptr mode: mode

(maj, min) sptr wput ptr ptr msg msg msg_type type

(maj, min) sptr rput ptr ptr msg msg msg_type type

(maj, min) sptr wsrv ptr ptr q_count count

(maj, min) sptr rsrv ptr ptr q_count count

(maj, min) sptr ioctl ptr ptr cmd ioctl_cmd

(maj, min) sptr event ret ret from line line

(maj, min) Major and minor device number.
cmd cmd Configuration command. Possible values:

CFG_INIT

CFG_TERM

ptr ptr Pointer to the module's private structure (the sptr_config structure).
mode: mode Open mode of the file. Possible values:

READ

WRITE

NONBLOCK

EXCL

NOCTTY

NDELAY

sflag: sflag Possible values:

0

MODOPEN

CLONEOPEN

msg msg Message to be processed.
msg_type type Message type. Possible values:

M_DATA

M_PROTO

M_BREAK

M_PASSFP

M_SIG

M_DELAY

M_CTL

M_IOCTL

M_SETOPS

M_RSE

q_count count Total amount of data in the queue.
cmd ioctl_cmd Symbolic name of the ioctl command.
event One of the recorded event. Possible values:

config

open

close

wput

rput

wsrv

rsrv

ioctl

ret ret Function's return value.
from line line Function's return line number.

414: HKWD STTY NLS

This event is recorded by the nls mapping discipline module.

Recorded Data

(maj, min) nls config cmd cmd

(maj, min) nls open ptr ptr mode: mode sflag: sflag

(maj, min) nls close ptr ptr mode: mode

(maj, min) nls wput ptr ptr msg msg msg_type type

(maj, min) nls rput ptr ptr msg msg msg_type type

(maj, min) nls wsrv ptr ptr q_count count

(maj, min) nls rsrv ptr ptr q_count count

(maj, min) nls ioctl ptr ptr cmd ioctl_cmd

(maj, min) nls event ret ret from line line

(maj, min) Major and minor device number.
cmd cmd Configuration command. Possible values:

CFG_INIT

CFG_TERM

ptr ptr Pointer to the module's private structure (the nls structure).
mode: mode Open mode of the file. Possible values:

READ

WRITE

NONBLOCK

EXCL

NOCTTY

NDELAY

sflag: sflag Possible values:

0

MODOPEN

CLONEOPEN

msg msg Message to be processed.
msg_type type Message type. Possible values:

M_DATA

M_PROTO

M_BREAK

M_PASSFP

M_SIG

M_DELAY

M_CTL

M_IOCTL

M_SETOPS

M_RSE

q_count count Total amount of data in the queue.
cmd ioctl_cmd Symbolic name of the ioctl command.
event One of the recorded event. Possible values:

config

open

close

wput

rput

wsrv

rsrv

ioctl

ret ret Function's return value.
from line line Function's return line number.

415: HKWD STTY PTY

This event is recorded by the pty pseudo-device driver.

Recorded Data

(maj, min) pty config cmd cmd

(maj, min) pty open ptr ptr mode: mode sflag: sflag

(maj, min) pty close ptr ptr mode: mode

(maj, min) pty wput ptr ptr msg msg msg_type type

(maj, min) pty rput ptr ptr msg msg msg_type type

(maj, min) pty wsrv ptr ptr q_count count

(maj, min) pty rsrv ptr ptr q_count count

(maj, min) pty ioctl ptr ptr cmd ioctl_cmd

(maj, min) pty event ret ret from line line

(maj, min) Major and minor device number.
cmd cmd Configuration command. Possible values:

CFG_INIT

CFG_TERM

ptr ptr Pointer to the module's private structure (the pty_s structure).
mode: mode Open mode of the file. Possible values:

NONBLOCK

NDELAY

sflag: sflag Possible values:

0

MODOPEN

CLONEOPEN

msg msg Message to be processed.
msg_type type Message type. Possible values:

M_DATA

M_PROTO

M_BREAK

M_SIG

M_CTL

M_IOCTL

M_SETOPS

q_count count   Total amount of data in the queue.

cmd ioctl_cmd   Symbolic name of the ioctl command.

event One of the recorded event. Possible values:

config

open

close

wput

rput

wsrv

rsrv

ioctl

ret ret Function's return value.
from line line Function's return line number.

416: HKWD STTY RS

This event is recorded by the rs tty driver.

Recorded Data

(maj, min) rs config cmd cmd

(maj, min) rs open ptr ptr mode: mode sflag: sflag

(maj, min) rs close ptr ptr mode: mode

(maj, min) rs wput ptr ptr msg msg msg_type type

(maj, min) rs rput ptr ptr msg msg msg_type type

(maj, min) rs wsrv ptr ptr q_count count

(maj, min) rs rsrv ptr ptr q_count count

(maj, min) rs ioctl ptr ptr cmd ioctl_cmd

(maj, min) rs proc ptr ptr proc

(maj, min) rs service ptr ptr service

(maj, min) rs slih rintr rintr adap_type adap_type

(maj, min) rs offlevel rintr rintr

(maj, min) rs event ret ret from line line

(maj, min) Major and minor device number.
cmd cmd Configuration command. Possible values:

CFG_INIT

CFG_TERM

CFG_QVPD

ptr ptr   Pointer to the driver's private structure (the str_rs structure).

mode: mode   Open mode of the file. Possible values:

READ

WRITE

NONBLOCK

EXCL

NOCTTY

NDELAY

sflag: sflag Possible values:

0

MODOPEN

CLONEOPEN

msg msg Message to be processed.
msg_type type Message type. Possible values:

M_DATA

M_PROTO

M_BREAK

M_SIG

M_DELAY

M_CTL

M_IOCTL

q_count count Total amount of data in the queue.
cmd ioctl_cmd Symbolic name of the ioctl command.
proc Possible values:

output

suspend

resume

block

unblock

rflush

wflush

service Driver internal service. Possible values:

proc output | suspend | resume | block | unblock | rflush | wflush

set control { TSDTR | TSRTS }

get control

get status

sbaud baud

get baud

set input baud baud

get input baud

set bpc bpc

set parity none | odd | mark | even | space

get parity

set stops 1 | 2

get stops

set break

clear break

open local | remote

softpace remote off | remote any | remote on | local off | local on

softrchar char

softlchar char

hardrbits bits

hardlbits bits

loop enter | exit

rintr Pointer to the interupt handler structure.
adap_type Adapter type. Possible values:

Native io

8/16 Port

event One of the recorded event. Possible values:

config

open

close

wput

rput

wsrv

rsrv

ioctl

service

slih

offlevel

ret ret Function's return value.
from line line Function's return line number.

417: HKWD STTY LION

This event is recorded by the lion tty driver.

Recorded Data

(maj, min) lion config cmd cmd

(maj, min) lion open ptr ptr mode: mode sflag: sflag

(maj, min) lion close ptr ptr mode: mode

(maj, min) lion wput ptr ptr msg msg msg_type type

(maj, min) lion rput ptr ptr msg msg msg_type type

(maj, min) lion wsrv ptr ptr q_count count

(maj, min) lion lionrv ptr ptr q_count count

(maj, min) lion ioctl ptr ptr cmd ioctl_cmd

(maj, min) lion proc ptr ptr proc

(maj, min) lion service ptr ptr service

(maj, min) lion slih rintr rintr adap_type adap_type

(maj, min) lion offlevel rintr rintr

(maj, min) lion event ret ret from line line

(maj, min) Major and minor device number.
cmd cmd Configuration command. Possible values:

CFG_INIT

CFG_TERM

CFG_QVPD

ptr ptr Pointer to the driver's private structure (the str_lion structure).
mode: mode Open mode of the file. Possible values:

READ

WRITE

NONBLOCK

APPEND

CREAT

TRUNC

EXCL

NOCTTY

NDELAY

sflag: sflag Possible values:

0

MODOPEN

CLONEOPEN

msg msg Message to be processed.
msg_type type Message type. Possible values:

M_DATA

_PROTO

M_BREAK

M_PASSFP

M_SIG

M_DELAY

M_CTL

M_IOCTL

_SETOPS

M_RSE

q_count count Total amount of data in the queue.
cmd ioctl_cmd Symbolic name of the ioctl command.
proc Possible values:

output

suspend

resume

block

unblock

rflush

wflush

service Driver internal service. Possible values:

proc output | suspend | resume | block | unblock | rflush | wflush   

set control { TSDTR | TSRTS }

get control

get status

sbaud baud

get baud

set input baud baud

get input baud

set bpc bpc

set parity none | odd | mark | even | space

get parity

set stops 1 | 2

get stops

set break

clear break

open local | remote

dopace again | xon | str | dtr | rts

softpace remote off | remote any | remote on | remote str |

local off | local on | local str

softrchar char

softlchar char

softrstr str

softlstr str

hardrbits bits

hardlbits bits

loop enter | exit

rintr

adap_type Adapter type. Possible value:

64-port adapter

event One of the recorded event. Possible values:

config

open

close

wput

rput

wsrv

rsrv

ioctl

service

slih

offlevel

ret ret Function's return value.
from line line Function's return line number.

418: HKWD STTY CXMA

This event is recorded by the cxma tty driver.

Recorded Data

(maj, min) cxma config cmd cmd

(maj, min) cxma open ptr ptr mode: mode sflag: sflag

(maj, min) cxma close ptr ptr mode: mode

(maj, min) cxma wput ptr ptr msg msg msg_type type

(maj, min) cxma rput ptr ptr msg msg msg_type type

(maj, min) cxma wsrv ptr ptr q_count count

(maj, min) cxma cxmarv ptr ptr q_count count

(maj, min) cxma ioctl ptr ptr cmd ioctl_cmd

(maj, min) cxma proc ptr ptr proc

(maj, min) cxma service ptr ptr service

(maj, min) cxma slih rintr rintr adap_type adap_type

(maj, min) cxma offlevel rintr rintr

(maj, min) cxma event ret ret from line line

(maj, min) Major and minor device number.
cmd cmd Configuration command. Possible values:

CFG_INIT

CFG_TERM

CFG_QVPD

CFG_UCODE

ptr ptr Pointer to the module's instance structure.
mode: mode Open mode of the file. Possible values:

READ

WRITE

NONBLOCK

EXCL

NOCTTY

NDELAY

sflag: sflag Possible values:

0

MODOPEN

CLONEOPEN

msg msg Message to be processed.
msg_type type Message type. Possible values:

M_DATA

M_PROTO

M_BREAK

M_PASSFP

M_SIG

M_DELAY

M_CTL

M_IOCTL

M_SETOPS

M_RSE

q_count count Total amount of data in the queue.
cmd ioctl_cmd Symbolic name of the ioctl command.
proc Possible values:

output

suspend

resume

block

unblock

rflush

wflush

service Driver internal service. Possible values:

proc output | suspend | resume | block | unblock | rflush | wflush

set control { TSDTR | TSRTS | TSCTS | TSDSR | TSRI | TSCD }

get control

get status

sbaud baud

get baud

set input baud baud

get input baud

set bpc bpc

set parity none | odd | mark | even | space

get parity

set stops 1 | 2

get stops

set break

clear break

open local | remote

dopace again | xon | str | dtr | rts

softpace remote off | remote any | remote on | remote str |

local off | local on | local str

softrchar char

softlchar char

softrstr str

softlstr str

hardrbits bits

hardlbits bits

loop enter | exit

rintr

adap_type Possible values:

cxma

event One of the recorded event. Possible values:

config

open

close

wput

rput

wsrv

rsrv

ioctl

service

slih

offlevel

ret ret Function's return value.
from line line Function's return line number.

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