Kernel Tracing on 4.2BSD, any comments?
Pete Delaney
pete at ecrcvax.UUCP
Thu Jun 6 19:24:06 AEST 1985
Some hackers out there in net land expressed some interest in the Kernel
tracing I am bringing up on the VAX. Well it started working this evening
and thought an example might be interesting to some.
The Following 100 lines are from a kernel trace of the
4.2BSD IPC code tracing on the VAX785.
This is the begining of the trace of the following command lines:
date | cat
date | cat | cat | cat | cat
sync
-----------------------------------------------
...Line # of trace
. ......Interupt Priority Level
. . ......Processor Id
. . . ......Subroutine Nest Level
. . . .
. . . .
<Line,ipl,pid,level>
-------------------------------------------------------------------------------
<1167,0X00,pid:3,2 > pipe(): syscall
<1168,0X00,pid:3,5 > pffindtype(family:1, type:1): entry
<1169,0X00,pid:3,5 > pffindtype(): found dp:80043bd4
<1170,0X00,pid:3,5 > pffindtype(): returns(pr:0)
<1171,0X00,pid:3,5 > uipc_usrreq(so:8070bb0c, req:'ATTACH', m:0, nam:0, rights:0): entry; unp:0
<1172,0X00,pid:3,6 > unp_attach(so:8070bb0c): entry
<1173,0X00,pid:3,7 > soreserve(so:8070bb0c, sndcc:2048, rcvcc:2048): entry
<1174,0X00,pid:3,8 > sbreserve(sb:8070bb48, cc:2048): entry
<1175,0X00,pid:3,8 > sbreserve(sb:8070bb30, cc:2048): entry
<1176,0X00,pid:3,6 > unp_attach(): so->so_pcb = unp:8070ba8c; returns(0:ok)
<1177,0X00,pid:3,5 > uipc_usrreq(): returns(error:0)
<1178,0X00,pid:3,5 > pffindtype(family:1, type:1): entry
<1179,0X00,pid:3,5 > pffindtype(): found dp:80043bd4
<1180,0X00,pid:3,5 > pffindtype(): returns(pr:0)
<1181,0X00,pid:3,5 > uipc_usrreq(so:8070ba0c, req:'ATTACH', m:0, nam:0, rights:0): entry; unp:0
<1182,0X00,pid:3,6 > unp_attach(so:8070ba0c): entry
<1183,0X00,pid:3,7 > soreserve(so:8070ba0c, sndcc:2048, rcvcc:2048): entry
<1184,0X00,pid:3,8 > sbreserve(sb:8070ba48, cc:2048): entry
<1185,0X00,pid:3,8 > sbreserve(sb:8070ba30, cc:2048): entry
<1186,0X00,pid:3,6 > unp_attach(): so->so_pcb = unp:8070b98c; returns(0:ok)
<1187,0X00,pid:3,5 > uipc_usrreq(): returns(error:0)
<1188,0X00,pid:3,4 > piconnect(wso:8070ba0c, rso:8070bb0c): entry
<1189,0X00,pid:3,2 > fork(): syscall
<1190,0X00,pid:9,2 > getpid(): syscall
<1191,0X00,pid:9,2 > sigvec(f, 7fffee18, 7fffee24): syscall
<1192,0X00,pid:9,2 > sigvec(e, 7fffee18, 7fffee24): syscall
<1193,0X00,pid:9,2 > sigvec(b, 7fffee18, 7fffee24): syscall
<1194,0X00,pid:9,2 > sigvec(3, 7fffee18, 7fffee24): syscall
<1195,0X00,pid:9,2 > sigvec(2, 7fffee18, 7fffee24): syscall
<1196,0X00,pid:9,2 > dup(44, 1): syscall
<1197,0X00,pid:9,2 > close(4): syscall
<1198,0X00,pid:9,2 > close(3): syscall
<1199,0X00,pid:9,2 > getpid(): syscall
<1200,0X00,pid:9,2 > old break(9ecc): syscall
<1201,0X00,pid:9,2 > execve(98fc, 9884, 98ac): syscall
<1202,0X00,pid:9,2 > execve(98fc, 9884, 98ac): syscall
<1203,0X00,pid:9,2 > execve(98fc, 9884, 98ac): syscall
<1204,0X00,pid:3,2 > fork(): syscall
<1205,0X00,pid:9,2 > gettimeofday(29d0, 29d8): syscall
<1206,0X00,pid:10,2 > getpid(): syscall
<1207,0X00,pid:10,2 > sigvec(f, 7fffee18, 7fffee24): syscall
<1208,0X00,pid:10,2 > sigvec(e, 7fffee18, 7fffee24): syscall
<1209,0X00,pid:10,2 > sigvec(b, 7fffee18, 7fffee24): syscall
<1210,0X00,pid:10,2 > sigvec(3, 7fffee18, 7fffee24): syscall
<1211,0X00,pid:9,2 > gettimeofday(7fffef5c, 0): syscall
<1212,0X00,pid:9,2 > gettimeofday(7fffef3c, 7fffef34): syscall
<1213,0X00,pid:9,2 > #62(1, 7fffeda0): syscall
<1214,0X00,pid:9,2 > ioctl(1, 40067408, 7fffed7e): syscall
<1215,0X00,pid:9,5 > uipc_usrreq(so:8070ba0c, req:'CONTROL', m:40067408, nam:7ffffee8, rights:0): entry; unp:8070b98c
<1216,0X00,pid:9,2 > close(0): syscall
<1217,0X00,pid:9,2 > write(1, 29f8, 21): syscall
<1218,0Xc,pid:9,7 > uipc_usrreq(so:8070ba0c, req:'SEND', m:8070b900, nam:0, rights:0): entry; unp:8070b98c
<1219,0Xc,pid:9,8 > sbappend(sb:8070bb30, m:8070b900): entry
<1220,0Xc,pid:9,8 > sbwakeup(sb:8070bb30): entry
<1221,0Xc,pid:9,7 > uipc_usrreq(): returns(error:0)
<1222,0X00,pid:9,2 > close(1): syscall
<1223,0X00,pid:9,2 > close(2): syscall
<1224,0X00,pid:9,2 > exit(0): syscall
<1225,0X00,pid:10,2 > sigvec(if_slowtimo(): entry
<1226,0X08,pid:10,5 > if_slowtimo(): exit
<1227,0X00,pid:10,2 > 2, 7fffee18, 7fffee24): syscall
<1228,0X00,pid:10,2 > dup(43, 0): syscall
<1229,0X00,pid:10,2 > close(3): syscall
<1230,0X00,pid:10,2 > close(4): syscall
<1231,0X00,pid:10,2 > pipe(): syscall
<1232,0X00,pid:10,5 > pffindtype(family:1, type:1): entry
<1233,0X00,pid:10,5 > pffindtype(): found dp:80043bd4
<1234,0X00,pid:10,5 > pffindtype(): returns(pr:0)
<1235,0X00,pid:10,5 > uipc_usrreq(so:8070b80c, req:'ATTACH', m:0, nam:0, rights:0): entry; unp:0
<1236,0X00,pid:10,6 > unp_attach(so:8070b80c): entry
<1237,0X00,pid:10,7 > soreserve(so:8070b80c, sndcc:2048, rcvcc:2048): entry
<1238,0X00,pid:10,8 > sbreserve(sb:8070b848, cc:2048): entry
<1239,0X00,pid:10,8 > sbreserve(sb:8070b830, cc:2048): entry
<1240,0X00,pid:10,6 > unp_attach(): so->so_pcb = unp:8070b78c; returns(0:ok)
<1241,0X00,pid:10,5 > uipc_usrreq(): returns(error:0)
<1242,0X00,pid:10,5 > pffindtype(family:1, type:1): entry
<1243,0X00,pid:10,5 > pffindtype(): found dp:80043bd4
<1244,0X00,pid:10,5 > pffindtype(): returns(pr:0)
<1245,0X00,pid:10,5 > uipc_usrreq(so:8070b70c, req:'ATTACH', m:0, nam:0, rights:0): entry; unp:0
<1246,0X00,pid:10,6 > unp_attach(so:8070b70c): entry
<1247,0X00,pid:10,7 > soreserve(so:8070b70c, sndcc:2048, rcvcc:2048): entry
<1248,0X00,pid:10,8 > sbreserve(sb:8070b748, cc:2048): entry
<1249,0X00,pid:10,8 > sbreserve(sb:8070b730, cc:2048): entry
<1250,0X00,pid:10,6 > unp_attach(): so->so_pcb = unp:8070b68c; returns(0:ok)
<1251,0X00,pid:10,5 > uipc_usrreq(): returns(error:0)
<1252,0X00,pid:10,4 > piconnect(wso:8070b70c, rso:8070b80c): entry
<1253,0X00,pid:10,2 > fork(): syscall
<1254,0X00,pid:10,2 > getpid(): syscall
<1255,0X00,pid:10,2 > dup(43, 0): syscall
<1256,0X00,pid:10,2 > close(3): syscall
<1257,0X00,pid:10,2 > close(4): syscall
<1258,0X00,pid:10,2 > getpid(): syscall
<1259,0X00,pid:10,2 > old break(9ecc): syscall
<1260,0X00,pid:10,2 > execve(98fc, 9884, 98ac): syscall
<1261,0X00,pid:11,2 > getpid(): syscall
<1262,0X00,pid:11,2 > dup(44, 1): syscall
<1263,0X00,pid:11,2 > close(4): syscall
<1264,0X00,pid:11,2 > close(3): syscall
<1265,0X00,pid:11,2 > getpid(): syscall
<1266,0X00,pid:11,2 > old break(9ecc): syscall
<1267,0X00,pid:11,2 > execve(98fc, 9884, 98ac): syscall
------------------------------------------------------------------------------
More information about the Comp.unix.wizards
mailing list