10 Commits

Author SHA1 Message Date
Jani Nikula
c252c77dbf tools: terminate getopt_long long option arrays properly
The last element of the long options array has to be filled with zeros.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2014-12-09 15:49:10 +02:00
Damien Lespiau
b333d23e3a intel_dump_decode: Support the INTEL_DEVID_OVERRIDE env variable
This is the one that already works in libdrm, so don't disappoint people
coming with expectations.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-11-28 14:33:37 +00:00
Damien Lespiau
b226f43fe8 intel_dump_decode: Actually parse the -d option
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-11-28 14:33:37 +00:00
Daniel Vetter
2ca6c6b4fd tools/intel_dump_decode: use libdrm decoder
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-09 23:38:29 +01:00
Eugeni Dodonov
e98f308994 Allow intel_dump_decode to read data from stdin.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
2011-10-17 17:50:39 -02:00
Daniel Vetter
f312f89f4a tools/intel_dump_decode: make devid parsing more useful
We use hex for these!

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-10-17 19:41:42 +02:00
Daniel Vetter
e855dc2223 tools: beef up intel_dump_decode
- now also handles ascii dumps like i915_ringbuffer_data
- getoptified
- totally lazy binary detector

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-09-13 11:41:42 +02:00
Chris Wilson
157207ada5 decode: Add some missing protection against short buffers for gen6 instr
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-03 00:41:43 +00:00
Chris Wilson
3dafead3f2 dump-decode: allow specification of devid, i.e. gen
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-02 23:05:16 +00:00
Chris Wilson
aa4772c3c1 dump decode: Add a non-installed program for decoding binary batchbuffer dumps.
Rather than add yet another decoder into the drivers, I rather just emit
a binary blob and use the decoder being developed here.

As it is a pure debugging feature, lets not package it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-07-15 19:33:00 +01:00