kernel 'simulator' and wave-form analysis tool?

From: Timothy Miller
Date: Fri Mar 05 2004 - 11:56:39 EST


I wouldn't be surprised if someone's already done this, but...

I'm a chip designer, and when we design a chip, before we put it in silicon, we use simulator tools that emulate the logic we designed. One of the most important parts of the simulator is the wave-form analyzer. We run the simulator for some period of time, and then we can look at the history of every signal in the design.

Well, I've been looking at Bochs, and it has this 'instrumentation' facility which you can use to track everything that goes on in its simulation of an x86 processor. If I were to put a hook in to track all memory writes, then I could record all memory activity (I could hook much more!). When a crash occurs, someone could use the analogue to the wave-form tool to trace execution back to the event that caused the problem (because, for instance, heap corruption causes crashes much later than the bug).

Would it be a productive use of my time to work on this?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/