platform_system_core/crash_reporter
Daniel Erat 55cb40aa95 crash-reporter: Attach Chrome logs to crash reports.
When Chrome crashes, gather the last 20 lines of each of the
latest two log files in /var/log/chrome and
/home/chronos/user/log and include them in the archive file
that's attached to crash reports.

BUG=chromium:405732
TEST=triggered crashes at the login screen and after logging
     in and verified that logs were included in crash
     reports: bdf766f0d6d1e066, a9d410e1a86f996b

Change-Id: I09e3cee23af108dc216d64aae85d78751d5649d4
Reviewed-on: https://chromium-review.googlesource.com/216427
Reviewed-by: Ben Chan <benchan@chromium.org>
Tested-by: Daniel Erat <derat@chromium.org>
Commit-Queue: Daniel Erat <derat@chromium.org>
2014-09-12 03:40:34 +00:00
..
init Revert "crash-reporter: Replace the crash_sender script by a service daemon." 2014-09-11 12:44:16 +00:00
99-crash-reporter.rules Add support for sending Atmel TP/TS error message 2013-06-18 16:11:36 -07:00
chrome_collector.cc crash-reporter: Attach Chrome logs to crash reports. 2014-09-12 03:40:34 +00:00
chrome_collector.h crash-reporter: Attach Chrome logs to crash reports. 2014-09-12 03:40:34 +00:00
chrome_collector_test.cc Update code to include base/files/file_util.h 2014-09-09 21:00:34 +00:00
crash-reporter.gyp Revert "crash-reporter: Replace the crash_sender script by a service daemon." 2014-09-11 12:44:16 +00:00
crash_collector.cc Update code to include base/files/file_util.h 2014-09-09 21:00:34 +00:00
crash_collector.h crash-reporter: Include base/macros.h instead of base/basictypes.h 2014-09-03 22:47:54 +00:00
crash_collector_test.cc Update code to include base/files/file_util.h 2014-09-09 21:00:34 +00:00
crash_collector_test.h crash-reporter: Fix coding style and cpplint issues. 2014-06-19 03:32:02 +00:00
crash_reporter.cc Update code to include base/files/file_util.h 2014-09-09 21:00:34 +00:00
crash_reporter_logs.conf crash-reporter: Attach Chrome logs to crash reports. 2014-09-12 03:40:34 +00:00
crash_sender Revert "crash-reporter: Replace the crash_sender script by a service daemon." 2014-09-11 12:44:16 +00:00
kernel_collector.cc Update code to include base/files/file_util.h 2014-09-09 21:00:34 +00:00
kernel_collector.h crash-reporter: Include base/macros.h instead of base/basictypes.h 2014-09-03 22:47:54 +00:00
kernel_collector_test.cc Update code to include base/files/file_util.h 2014-09-09 21:00:34 +00:00
kernel_log_collector.sh kernel_log_collector.sh : correct kernel message pattern 2013-06-19 16:19:38 -07:00
kernel_warning_collector.cc Update code to include base/files/file_util.h 2014-09-09 21:00:34 +00:00
kernel_warning_collector.h crash-reporter: Include base/macros.h instead of base/basictypes.h 2014-09-03 22:47:54 +00:00
list_proxies.cc Revert "crash-reporter: Replace the crash_sender script by a service daemon." 2014-09-11 12:44:16 +00:00
OWNERS crash-reporter: Update OWNERS file to set 'noparent'. 2014-03-27 20:36:00 +00:00
TEST_WARNING Collect and report kernel warnings. 2013-05-01 20:30:10 -07:00
udev_collector.cc Update code to include base/files/file_util.h 2014-09-09 21:00:34 +00:00
udev_collector.h crash-reporter: Include base/macros.h instead of base/basictypes.h 2014-09-03 22:47:54 +00:00
udev_collector_test.cc Update code to include base/files/file_util.h 2014-09-09 21:00:34 +00:00
unclean_shutdown_collector.cc Update code to include base/files/file_util.h 2014-09-09 21:00:34 +00:00
unclean_shutdown_collector.h crash-reporter: Include base/macros.h instead of base/basictypes.h 2014-09-03 22:47:54 +00:00
unclean_shutdown_collector_test.cc Update code to include base/files/file_util.h 2014-09-09 21:00:34 +00:00
user_collector.cc Update code to include base/files/file_util.h 2014-09-09 21:00:34 +00:00
user_collector.h crash-reporter: Include base/macros.h instead of base/basictypes.h 2014-09-03 22:47:54 +00:00
user_collector_test.cc Update code to include base/files/file_util.h 2014-09-09 21:00:34 +00:00
warn_collector.l crash reporter: avoid repeated warning collection 2014-02-25 04:03:09 +00:00
warn_collector_test.c crash-reporter: Fix coding style and cpplint issues. 2014-06-19 03:32:02 +00:00
warn_collector_test.sh Append function name/offset to kernel warning signature. 2013-12-17 01:32:09 +00:00
warn_collector_test_reporter.sh Collect and report kernel warnings. 2013-05-01 20:30:10 -07:00