[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

General Programming Concepts: Writing and Debugging Programs


Trace Hook IDs: 401

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

401 : HKWD TTY TTY

This event is recorded by the TTY device driver.

Recorded Data

Event:

(maj, min, chan) tty config cmd cmd ret ret

(maj, min, chan) tty alloc cin cin cmd alloc cmd ret ret

(maj, min, chan) tty open mode open mode ext ext ret ret

(maj, min, chan) tty close ret ret

(maj, min, chan) tty read ret ret

(maj, min, chan) tty write ret ret

(maj, min, chan) tty ioctl cmd ioctl cmd arg ioctl arg mode mode ret ret

(maj, min, chan) tty select events events revents revents ret ret

(maj, min, chan) tty revoke flag revoke flag ret ret

(maj, min, chan) tty mpx ret ret

(maj, min, chan) tty input c c input status ret ret

(maj, min, chan) tty output output status

(maj, min, chan) tty service proc proc ret ret

(maj, min, chan) tty service set control control ret ret

(maj, min, chan) tty service get control ret ret

(maj, min, chan) tty service get status ret ret

(maj, min, chan) tty service baud baud ret ret

(maj, min, chan) tty service get baud ret ret

(maj, min, chan) tty service set input baud baud ret ret

(maj, min, chan) tty service get input baud ret ret

(maj, min, chan) tty service set bpc bpc ret ret

(maj, min, chan) tty service get bpc ret ret

(maj, min, chan) tty service set parity parity ret ret

(maj, min, chan) tty service get parity ret ret

(maj, min, chan) tty service set stops stops ret ret

(maj, min, chan) tty service get stops ret ret

(maj, min, chan) tty service set break ret ret

(maj, min, chan) tty service clear break ret ret

(maj, min, chan) tty service open open ret ret

(maj, min, chan) tty service dopace dopace ret ret

(maj, min, chan) tty service softpace softpace ret ret

(maj, min, chan) tty service softrchar softrchar ret ret

(maj, min, chan) tty service softlchar softlchar ret ret

(maj, min, chan) tty service softrstr softrstr ret ret

(maj, min, chan) tty service softlstr softlstr ret ret

(maj, min, chan) tty service hardrbits hardrbits ret ret

(maj, min, chan) tty service hardlbits hardlbits ret ret

(maj, min, chan) tty service loop enter ret ret

(maj, min, chan) tty service loop exit ret ret

(maj, min, chan) tty proc proc ret ret

(maj, min, chan) tty slih intr intr slih status

(maj, min, chan) tty offlevel intr intr ret ret

(maj, min, chan) tty ttyinit disp disp ret ret

(maj, min, chan) tty ttyfree ret ret

(maj, min, chan) tty ttynull ret ret

(maj, min, chan) tty ttcwait wait ret ret

(maj, min, chan) tty ttyspgrp ret ret

(maj, min, chan) tty ttypath input ttypath input ret ret

(maj, min, chan) tty ttypath output ttypath output ret ret

(maj, min, chan) tty ttypath service ttypath service ret ret

(maj, min, chan) tty stack ctl disp disp mode mode ext ext ret ret

(maj, min, chan) tty unstack ctl ctl ctl ext ext ret ret

(maj, min, chan) tty getctlbytype type type ctl ctl ret ret

(maj, min, chan) tty getctlbyname name name ctl ctl ret ret

(maj, min, chan) tty getdispbyname name name disp disp ret ret

(maj, min, chan) tty getdispbytype type type disp disp ret ret

(maj, min, chan) tty dispadd ret ret

(maj, min, chan) tty dispdel ret

(maj, min, chan) tty tty_do_offlevel ret

(maj, min, chan) tty ttyofflevel ret

(maj, min, chan)    Major and minor device number, and channel number

config cmd cmd

cin cin

cmd alloc cmd Possible values:

push

pop

unconfig

mode open mode

ext ext

ioctl cmd ioctl cmd

arg ioctl arg

mode mode

events events Possible values:

in

out

pri

sync

revents revents

revoke flag revoke flag

c c

input status Possible values:

good char

overrun

parity error

framing error

break interrupt

cts on

cts off

dsr on

dsr off

ri on

ri off

cd on

cd off

cblock buf

other buf

proc proc Possible values:

output

suspend

resume

block

unblock

rflush

wflush

output output status Possible values:

done

more output

set control control Possible values:

TSDTR

TSRTS

TSCTS

TSDSR

TSRI

TSCD

baud baud

bpc bpc

parity parity Possible values:

Tnone

odd

mark

even

space

stops stops Possible values:

1

2

open open Possible values:

local

remote

dopace dopace Possible values:

again

xon

str

dtr

rts

softpace softpace Possible values:

remote off

remote any

remote on

remote str

local off

local on

local str

softrchar softrchar

softlchar softlchar

softrstr softrstr

softlstr softlstr

hardrbits hardrbits

hardlbits hardlbits

slih status Possible values:

serviced

no intr serviced

intr intr

disp disp

ttcwait wait

ttypath input ttypath input

ttypath output ttypath output

ttypath service ttypath service

ctl ctl

type type

name name

ret ret


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]