error-decode: Operate as a pipe and accept input from stdin
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 1 Dec 2010 21:51:59 +0000 (21:51 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 1 Dec 2010 21:51:59 +0000 (21:51 +0000)
commita3a78632bd1ae873b3946d22271d4002daccc34b
treed1ec2d4aed4d00a317a5465d47cb9497ad326f5d
parentaa0a346deb208386e3f39253efd0693621841535
error-decode: Operate as a pipe and accept input from stdin

Useful for feeding in compressed files from bugzilla:

$ bzcat /tmp/i915_error_state.bz | intel_error_decode | less

Next step would be to use gzfopen or bzfopen to automagically handle
compressed files...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tools/intel_error_decode.c