crash_collector: Handle compressed i915_error_state for chrome crashes

i915_error_state was previously truncated by debugd,
and will be compressed in the future to prevent that.

Because of compression, it will now be received in base64 format,
so to reduce it's size, decode it back.

Also, use xz compression, since it's more compact.
The second compression is a preparation for adding task states to the logs.

TEST=Kill chrome, see the log gathered. Uploaded report id 5e5a6f9bf6ff4b5f.

Change-Id: I316cdaef8f8f42d4ac839f7c880960cdf6d7a1e8
Reviewed-by: Albert Chaulk <>
Tested-by: Yuly Novikov <>
Commit-Queue: Yuly Novikov <>
1 file changed
tree: ae44d1991179b12ff61090d514f21fde5f7ebf45
  1. crash_reporter/