comerr-behave-like-the-rest-of-the-world-20010918
[openafs.git] / src / afs / afs_trace.et
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 error_table 2 ZCM
9         ec      CM_TRACE_NULL, "dummy"
10         ec      CM_TRACE_PAGEIN, "getapage vp 0x%lx off 0x%x len 0x%x rw=0x%x"
11         ec      CM_TRACE_PAGEINDONE, "getapage done code 0x%x pg 0x%lx (0x%x)"
12         ec      CM_TRACE_PAGEOUT, "putpage vp 0x%lx off 0x%x len 0x%x flags=0x%x"
13         ec      CM_TRACE_PAGEOUTDONE, "putpage done code 0x%x #dirty 0x%x"
14         ec      CM_TRACE_PAGEOUTONE, "putApage vp 0x%lx pag 0x%lx len 0x%x off 0x%x"
15         ec      CM_TRACE_VMRW, "vmrw vp 0x%lx, write=0x%x, off=0x%x, len=0x%x"
16         ec      CM_TRACE_STRATEGYDONE,  "strategy done vp 0x%lx code 0x%x left 0x%x"
17         ec      CM_TRACE_FLUSHV, "flushv vp 0x%lx states 0x%x"
18         ec      CM_TRACE_GETDOWND, "getdownd vp 0x%lx skip 0x%x idxf 0x%x coff 0x%x"
19         ec      CM_TRACE_ACTCCORE, "ActiveCore vp 0x%lx XoW 0x%x"
20         ec      CM_TRACE_WVCACHE, "RXAFS_StoreStatus vp 0x%lx len 0x%x"
21         ec      CM_TRACE_TRYTOSMUSH, "TryToSmush vp 0x%lx len 0x%x"
22         ec      CM_TRACE_STOREPROC, "StoreProc vp 0x%lx tlen 0x%x alen 0x%x"
23         ec      CM_TRACE_FETCHPROC, "FetchProc vp 0x%lx pos 0x%x size 0x%x"
24         ec      CM_TRACE_SIMPLEVSTAT, "SimpleVStat vp 0x%lx old len 0x%x new len 0x%x"
25         ec      CM_TRACE_PROCESSFS, "ProcessFS vp 0x%lx old len 0x%x new len 0x%x"
26         ec      CM_TRACE_STOREALL, "StoreAll vp 0x%lx len 0x%x"
27         ec      CM_TRACE_INVALL, "InvalAll vp 0x%lx len 0x%x"
28         ec      CM_TRACE_TRUNCALL1, "TruncAll vp 0x%lx old len 0x%x new len 0x%x"
29         ec      CM_TRACE_TRUNCALL2,"TruncAll vp 0x%lx vlen 0x%x len 0x%x"
30         
31         ec      CM_TRACE_GNLINK, "Gn_link vp 0x%lx name %s (returns 0x%x)"
32         ec      CM_TRACE_GMKDIR, "Gn_mkdir vp 0x%lx name %s mode 0x%x (returns 0x%x)"
33         ec      CM_TRACE_GMKNOD, "Gn_mknod vp 0x%lx name %s mode 0x%x (returns 0x%x)"
34         ec      CM_TRACE_GREMOVE, "Gn_remove vp 0x%lx name %s (returns 0x%x)"
35         ec      CM_TRACE_GRENAME, "Gn_rename vp 0x%lx fname %s tname %s (returns 0x%x)"
36         ec      CM_TRACE_GRMDIR, "Gn_rmdir vp 0x%lx name %s (returns 0x%x)"
37         ec      CM_TRACE_GLOOKUP, "Gn_lookup vp 0x%lx name %s (returns 0x%x)"
38         ec      CM_TRACE_GFID, "Gn_fid vp 0x%lx fidp 0x%lx (returns 0x%x)"
39         ec      CM_TRACE_GOPEN, "Gn_open vp 0x%lx flags 0x%x (returns 0x%x)"
40         ec      CM_TRACE_GCREATE, "Gn_create vp 0x%lx name %s mode 0x%x (returns 0x%x)"
41         ec      CM_TRACE_GCLOSE, "Gn_close vp 0x%lx flags 0x%x (returns 0x%x)"
42         ec      CM_TRACE_GMAP, "Gn_map vp 0x%lx addr 0x%lx len 0x%x off 0x%x"
43         ec      CM_TRACE_GACCESS, "Gn_access vp 0x%lx mode 0x%x (returns 0x%x)"
44         ec      CM_TRACE_GGETATTR, "Gn_getattr vp 0x%lx (returns 0x%x)"
45         ec      CM_TRACE_GSETATTR, "Gn_setattr vp 0x%lx (returns 0x%x)"
46         ec      CM_TRACE_GFCLEAR, "Gn_fclear vp 0x%lx offset 0x%x len 0x%x (returns 0x%x)"
47         ec      CM_TRACE_GFSYNC, "Gn_fsync vp 0x%lx flags 0x%x (returns 0x%x)"
48         ec      CM_TRACE_GFTRUNC, "Gn_ftrunc vp 0x%lx flags 0x%x len 0x%x (returns 0x%x)"
49         ec      CM_TRACE_GRDWR, "Gn_rdwr vp 0x%lx flags 0x%x op 0x%x (returns 0x%x)"
50         ec      CM_TRACE_GLOCKCTL, "Gn_locktl vp 0x%lx cmd 0x%x (returns 0x%x)"
51         ec      CM_TRACE_GIOCTL, "Gn_ioctl vp 0x%lx cmd 0x%x (returns 0x%x)"
52         ec      CM_TRACE_GREADLINK, "Gn_readlink vp 0x%lx (returns 0x%x)"
53         ec      CM_TRACE_GSYMLINK, "Gn_symlink vp 0x%lx link %s target %s (returns 0x%x)"
54         ec      CM_TRACE_GREADDIR, "Gn_readdir vp 0x%lx (returns 0x%x)"
55
56         ec      CM_TRACE_STUFFVCACHE, "StuffVcache 0x%lx callback host 0x%lx expires %u (in %u secs)"
57         ec      CM_TRACE_GETDCACHE1, "Getdcache vp 0x%lx failed to find chunk 0x%x"
58         ec      CM_TRACE_GETDCACHE2, "GetdCache vp 0x%lx dcache 0x%lx dcache low-version 0x%x, vcache low-version 0x%x"
59         ec      CM_TRACE_STOREMINI, "storemini vp 0x%lx length 0x%x"
60         ec      CM_TRACE_STOREDCACHE, "StoreDCache vp 0x%lx chunk 0x%x length 0x%x at position 0x%x"
61         ec      CM_TRACE_STOREDCACHEDONE, "StoreDCache Done for vp 0x%lx (returns 0x%x)"
62         ec      CM_TRACE_STOREALLDONE, "StoreAll Done vp 0x%lx length 0x%x (returns 0x%x)"
63         ec      CM_TRACE_PROBEDOWN, "GC Daemon: Checking down servers (every %d secs)"
64         ec      CM_TRACE_PROBEUP, "GC Daemon: Checking up servers/gc users (every %d secs)"
65         ec      CM_TRACE_PROBEVOLUME, "GC Daemon: Checking volumes (every %d secs)"
66         ec      CM_TRACE_BKG1, "Bkg daemon executing 0x%x request"
67         ec      CM_TRACE_HPSTRAT, "Strategy vp 0x%lx offset 0x%x size 0x%x count 0x%x"
68         ec      CM_TRACE_HPPAGEOUT, "pageout vp 0x%lx start 0x%x end 0x%x flags 0x%x"
69         ec      CM_TRACE_HPPAGEIN, "pagein vp 0x%lx type 0x%x bpages 0x%lx mmf 0x%lx"
70         ec      CM_TRACE_NFSREQH, "Nfsreq pag 0x%x uid 0x%x host 0x%x nfsclnt struct 0x%lx"
71         ec      CM_TRACE_NFSOUT, "NfsOut op 0x%x vp 0x%lx fid (%x:%d.%d.%d)"
72         ec      CM_TRACE_NFSIN, "NfsIn op 0x%x"
73         ec      CM_TRACE_NFSIN1, "Nfs Root fid client 0x%lx fid (%x:%d.%d.%d)"
74         ec      CM_TRACE_FLUSHPAGES, "flushpages vp 0x%x data version low 0x%x length 0x%x"
75         ec      CM_TRACE_SYNCVM, "SyncVM vp 0x%lx length 0x%x"
76         ec      CM_TRACE_PIOCTL, "Pioctl command 0x%x for vp 0x%lx, follow=%d"
77         ec      CM_TRACE_CHECKCODE, "Returning code %d from %d"
78         ec      CM_TRACE_CHECKVLDB, "Did a CheckVLDB call for fid (%x:%d.%d.%d) = %x"
79         ec      CM_TRACE_GETVOL, "RPC GetVolumeByName for %s ( at 0x%x)"
80         ec      CM_TRACE_ANALYZE, "Analyze RPC op %d conn 0x%lx code 0x%x user 0x%x"
81         ec      CM_TRACE_SETPAG, "Setpag returns 0x%x"
82         ec      CM_TRACE_OPEN, "Open 0x%x flags 0x%x"
83         ec      CM_TRACE_CLOSE, "Close 0x%lx flags 0x%x"
84         ec      CM_TRACE_WRITE, "Write vp 0x%lx off 0x%x resid 0x%x file length 0x%x"
85         ec      CM_TRACE_READ, "Read vp 0x%lx off 0x%x resid 0x%x file length 0x%x"
86         ec      CM_TRACE_PARTIALWRITE, "Partial write vp 0x%lx length 0x%x"
87         ec      CM_TRACE_GETATTR, "Getattr vp 0x%lx len 0x%x"
88         ec      CM_TRACE_SETATTR, "Setattr vp 0x%lx len 0x%x"
89         ec      CM_TRACE_ACCESS, "Access vp 0x%lx mode 0x%x len 0x%x"
90         ec      CM_TRACE_LOOKUP, "Lookup adp 0x%lx name %s fid (%d:%d.%d.%d), code=%d"
91         ec      CM_TRACE_LOOKUP1, "Mount point is to vp 0x%lx fid (%d:%d.%d.%d)"
92         ec      CM_TRACE_CREATE, "create file in vp 0x%lx name %s mode 0x%x"
93         ec      CM_TRACE_REMOVE, "remove dir 0x%lx name %s"
94         ec      CM_TRACE_LINK, "hard link dir 0x%lx vp %lx name %s"
95         ec      CM_TRACE_RENAME, "Rename d1 0x%lx name %s to d2 0x%lx name %s"
96         ec      CM_TRACE_MKDIR, "Mkdir parent 0x%lx entry %s"
97         ec      CM_TRACE_RMDIR, "Rmdir parent 0x%lx entry %s"
98         ec      CM_TRACE_SYMLINK, "Symlink dir 0x%lx link %s"
99         ec      CM_TRACE_READLINK, "readlink 0x%lx"
100         ec      CM_TRACE_FSYNC, "fsync 0x%lx"
101
102         ec      CM_TRACE_LOCKDONE,  "Released lock 0x%lx level %d"
103         ec      CM_TRACE_LOCKDOWN,  "Downgraded lock 0x%lx to %d"
104         ec      CM_TRACE_LOCKOBTAIN,"Obtained lock 0x%lx level %d"
105         ec      CM_TRACE_LOCKSLEPT, "Slept for lock 0x%lx level %d"
106
107         ec      CM_TRACE_PAGE_READ, "0x%lx called page_read (returned %d) states 0x%x"
108         ec      CM_TRACE_PAGE_WRITE, "0x%lx called page_write (returned %d) states 0x%x"
109         ec      CM_TRACE_STOREALLDC, "StoreAllDCache vp 0x%lx nchunks %x length 0x%x truncpos 0x%x"
110         ec      CM_TRACE_STOREALLDCDONE, "StoreAllDCache Done for vp 0x%lx (returns 0x%x)"
111         ec      CM_TRACE_AVCLOCKER, "Vnode Lock vp 0x%lx wait 0x%x excl 0x%x"
112         ec      CM_TRACE_AVCLOCKEE, "Vnode Lock vp 0x%lx wait 0x%x readers %d waiters %d"
113         ec      CM_TRACE_SHORTREAD, "osi_Read want %d short %d err 0x%x"
114         ec      CM_TRACE_READFAILED, "osi_Read failed len %d err 0x%x"
115         ec      CM_TRACE_GETVCDOTDOT, "GetVCache .. fid (%d.%d.%d.%d) returned 0x%x (err %d)"
116         ec      CM_TRACE_CALLBACK, "Breaking callback for %lx states %d (volume %d)"
117         ec      CM_TRACE_VREF,  "vcache 0x%lx has ref %d at %d"
118         ec      CM_TRACE_TMP_1S3L, "%s: %lx %lx %lx"
119         ec      CM_TRACE_TMP_2S2L, "%s: %s %lx %lx"
120         ec      CM_TRACE_NFS3OUT, "Nfs3Out op 0x%x vp 0x%lx fid (%x:%d.%d.%d)"
121         ec      CM_TRACE_NFS3IN, "Nfs3In op 0x%x"
122         ec      CM_TRACE_NFS3IN1, "Nfs3 Root fid client 0x%lx fid (%x:%d.%d.%d)"
123         ec      CM_TRACE_VGET, "Vget vp 0x%lx uid %x fid (%x:%d.%d.%d)"
124         ec      CM_TRACE_VFSROOT, "vfs root vp 0x%lx, code %d"
125         ec      CM_TRACE_READOP, "Iread ip 0x%lx pos 0x%x count 0x%x code %x"
126         ec      CM_TRACE_WRITEOP, "Iwrite ip 0x%lx pos 0x%x count 0x%x code %x"
127         ec      CM_TRACE_READPAGE, "Ireadpage ip 0x%lx pp 0x%x count 0x%x code %x"
128         ec      CM_TRACE_UPDATEPAGE, "Iupdatepage ip 0x%lx pp 0x%x count 0x%x code %d"
129         ec      CM_TRACE_VM_CLOSE, "VMclose ip 0x%lx mapcnt %d opens %d XoW %d"
130         ec      CM_TRACE_PREFETCHCMD, "PrefetchCmd tvc 0x%x tfid (%d:%d.%d.%d) fid (%d:%d.%d.%d)"
131         ec      CM_TRACE_RESIDCMD, "ResidencyCmd tvc 0x%x command %d fid (%d:%d.%d.%d)"
132 end
133