[Nouveau] kmmio dump log format

Jaap Stolk jwstolk at gmail.com
Thu Jun 28 13:58:15 PDT 2007


> > > In your redesign of the binary dump format, could you add the ability
> > > to store multiple PCs per sample? (ie, so that I can do backtraces (4
> > > frames deep?) ) rather than just a single PC?

In the current proposal for the new packet based format, we have a single PC
(which we don't use right now). we could define a read/write packet
as: address + value + r/w mode + (optionally) any number of PC's.  the
number of PC's is indicated by the packet length in the packet header.
This we save a bit when we don't need the PC and support any number of
PC's at the same time.

Tools that don't make use of the PC's can simply skip them.

(there are also pending issues, like whether we need to support 64 bit values)

jaap.


More information about the Nouveau mailing list