From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199607120559.WAA10838@panda.azstarnet.com> Date: Thu, 11 Jul 1996 22:59:24 -0700 From: David Mosberger-Tang Subject: Re: Kernel panic: insl:...(was 3c509 & axp linux) >>>>> On Fri, 12 Jul 1996 07:44:10 +0200, Johan Sarkinen said: Johan> Then I wonder what tools there is to dynamically analyze what Johan> happens in ke= rnel, esp. comm, so one knows where is juice Johan> to going and to be able optimize the righ= t stuff. There is kernel profiling. Haven't tried it myself, but if it doesn't work already, it should be straight forward to get working. At one point I implemented kernel-level instruction tracing. It wasn't perfect, but it was certainly good enough to capture the execution trace all the way from the bottom half of the network system to the point at which the packet got delivered to a socket. Together with cycle-level execution timings and a CPU simulator (a la ev4sched), you can get some interesting numbers out of this. It certainly could help optimizing stuff, though more on a global level than at the driver-level. Getting the instruction tracing to work requires the kgdb patches and some hacking. If interested, let me know. --david -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null