crash-reporter: Collect i915 error state for chrome crashes
Add in the i915 error state as a log file in "chrome" crash reports. "chrome"
isn't normally reported through crash_reporter, so this will only kick in where
a developer has explicitly changed a machine to report them as such.
Because the output can be quite large (as we saw with udev crash reports), the
log is compressed before uploading. Although the file attached to the crash
report will have a ".log" extension, it will actually have been gzip'ed.
TEST=Tested same config with "sleep" command:
Commit-Ready: Michael Krebs <email@example.com>
Tested-by: Michael Krebs <firstname.lastname@example.org>
Reviewed-by: Stuart Abercrombie <email@example.com>
1 file changed