Bug 1212265 - Collect recovery log as part of LogShake. r=gwagner
authorAlexandre Lissy <lissyx@lissyx.dyndns.org>
Wed, 07 Oct 2015 02:50:00 +0200
changeset 266930 f59355b21ac298d2cfe9250d281fcb494c363d00
parent 266929 f39fdca025c319bfa9981969ef8618d7c85a9d5a
child 266931 51c418c9f938bc0d3b32be951fad952a80e35c77
push id66331
push userkwierso@gmail.com
push dateThu, 08 Oct 2015 21:35:51 +0000
treeherdermozilla-inbound@1a5167cd7688 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgwagner
bugs1212265
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1212265 - Collect recovery log as part of LogShake. r=gwagner
b2g/components/LogShake.jsm
--- a/b2g/components/LogShake.jsm
+++ b/b2g/components/LogShake.jsm
@@ -123,17 +123,20 @@ var LogShake = {
     "/proc/cmdline": LogParser.prettyPrintArray,
     "/proc/kmsg": LogParser.prettyPrintArray,
     "/proc/last_kmsg": LogParser.prettyPrintArray,
     "/proc/meminfo": LogParser.prettyPrintArray,
     "/proc/uptime": LogParser.prettyPrintArray,
     "/proc/version": LogParser.prettyPrintArray,
     "/proc/vmallocinfo": LogParser.prettyPrintArray,
     "/proc/vmstat": LogParser.prettyPrintArray,
-    "/system/b2g/application.ini": LogParser.prettyPrintArray
+    "/system/b2g/application.ini": LogParser.prettyPrintArray,
+    "/cache/recovery/last_install": LogParser.prettyPrintArray,
+    "/cache/recovery/last_kmsg": LogParser.prettyPrintArray,
+    "/cache/recovery/last_log": LogParser.prettyPrintArray
   },
 
   /**
    * Start existing, observing motion events if the screen is turned on.
    */
   init: function() {
     // TODO: no way of querying screen state from power manager
     // this.handleScreenChangeEvent({ detail: {