On Mon, Oct 17, 2011 at 02:25:01PM -0200, Eugeni Dodonov wrote: > This adds a hint on where the call trace originated from. This is more of > a guess, but still, it seems to be quite accurate on the traces I tested. > > So it appears in the output like: > > ... > 0x06c470c8: 0x780e0002: 3DSTATE_CC_STATE_POINTERS > 0x06c470cc: 0x00007f81: blend change 1 > 0x06c470d0: 0x00007f01: depth stencil change 1 > 0x06c470d4: 0x00007f41: cc change 1 > 0x06c470d8: 0x78021302: 3DSTATE_SAMPLER_STATE_POINTERS: VS mod 1, GS > mod 1, PS mod 1 > 0x06c470dc: 0x00000000: VS sampler state > 0x06c470e0: 0x00000000: GS sampler state > 0x06c470e4: 0x00007e00: WM sampler state > 0x06c470e8: 0x78150003: Possible origin: mesa > 0x06c470e8: 0x78150003: 3DSTATE_CONSTANT_VS_STATE > 0x06c470ec: 0x00000000: dword 1 > 0x06c470f0: 0x00000000: dword 2 > 0x06c470f4: 0x00000000: dword 3 > 0x06c470f8: 0x00000000: dword 4 > ... > > Signed-off-by: Eugeni Dodonov <eugeni.dodo...@intel.com> > ---
I have patches which I never posted which do something similar, but perhaps more useful. It gets a PID and a timestamp for each batch. Unfortunately those require kernel changes. If that sounds useful to you, I will clean them up and put them on the list. _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx