Index: crash_reporter_logs.conf |
diff --git a/crash_reporter_logs.conf b/crash_reporter_logs.conf |
index 5ae82a21ddc3616c91bf3c776276d9d320c7fb82..12fe3ceb5abc3a8d6fe861fa1cf721e6421588cc 100644 |
--- a/crash_reporter_logs.conf |
+++ b/crash_reporter_logs.conf |
@@ -17,6 +17,11 @@ |
# |
update_engine:cat $(ls -1tr /var/log/update_engine | tail -5 | sed s.^./var/log/update_engine/.) | tail -c 50000 |
+# The following rule is used for generating additional diagnostics when |
+# collection of user crashes fails. This output should not be too large |
+# as it is stored in memory. |
+crash_reporter-user-collection:echo "===ps output==="; ps auxw | tail -c 25000; echo "===dmesg output==="; dmesg | tail -c 25000; echo "===meminfo==="; cat /proc/meminfo |
+ |
# The following rules are only for testing purposes. |
crash_log_test:echo hello world |
crash_log_recursion_test:sleep 1 && /home/autotest/tests/crash_log_recursion_test |