Commit Graph

12 Commits

Author SHA1 Message Date
Dale Harvey
fbed417926 Bug 1136777 - Enable LogShake by default and listen for new content events. r=fabrice, r=gerard-majax 2015-04-06 18:57:22 +01:00
Alexandre Lissy
0e784cb42a Bug 1136784 - Add screenshot to LogShake produced data. r=ochameau, r=gwagner 2015-03-11 01:35:00 -04:00
Alexandre Lissy
8d69ae57da Bug 1127782 - Add /proc/last_kmsg to the list of files we are dumping with LogShake. r=gwagner
Having this file is useful since it can help diagnose previous kernel
panics.
2015-01-30 03:50:00 +01:00
Alexandre Lissy
b9fc329ce5 Bug 1103958 - Dump Gecko AppInfos and about:memory in LogShake. r=gwagner 2015-01-26 13:16:00 -05:00
Carsten "Tomcat" Book
cbbff39fac Backed out changeset a5adaf7a846c (bug 1103958) for failing X1 Tests 2015-01-09 14:04:04 +01:00
Alexandre Lissy
01d2532bcf Bug 1103958 - Dumping Gecko AppInfos and about:memory in LogShake. r=gwagner 2015-01-08 06:05:00 +01:00
Alexandre Lissy
0e70468798 Bug 1093108 - Do not overwrite pre-existing logs. r=gwagner
Simply rely on OS.File.makeDir() and gracefully fail instead of
overwriting pre-existing user data.
2014-12-17 07:49:00 +01:00
Alexandre Lissy
d240d53cde Bug 1079322 - Extract properties using libc functions. r=gwagner
The LogShake features allows one to shake its device to be able to dump
a set of useful logging informations. This includes several log files,
and also the Android properties. In the past, we relied on the
/dev/__properties__ file to extract their content by parsing its value.
This is duplicate work from the bionic libc and libcutils library.
Worst, the format used to store the values in this file has been changed
between JellyBean and Kitkat, so our parser was not able to dump the
values: that explains bug 1079322. To fix this we make use of some of
the underlying libc-defined functions used to iterate and get properties
values:
 - __system_property_find_nth() to retrieve one arbitrary property by
   its number (starting from 0), and this returns a struct containing
   all the informations
 - __system_property_read() to read the values contained in the struct
   that was previously retrieved
2014-11-12 06:31:00 +01:00
Alexandre Lissy
f6ea8b2409 Bug 1092074 - Make LogShake feature resilient to read/parse errors. r=gwagner
In the event of broken/unexpected things, we would like to have even a
partial log set dump. This happens for parsing properties values on
Kitkat builds: the current code does all the parsing itself, but the
format of storage of properties evolved with Kitkat base system, and
this makes LogParser to fail, as documented in bug 1079322. Even if we
miss some values, it can still be useful to have the other remaining
ones.
2014-10-31 05:47:00 +01:00
Alexandre Lissy
2333786d6f Bug 1067329 - Fix logshake directory computation. r=gwagner
--HG--
extra : rebase_source : 3b1bcbe2ca9f6f38ebad792c19d0b943e4f67edf
2014-10-08 03:25:00 +02:00
Alexandre Lissy
8b10bc92c8 Bug 1079758 - Send logshake capture start event. r=gwagner
--HG--
extra : rebase_source : a4503b9f96e31001aaa4388c1ca6ee5cfe477d18
2014-10-08 22:49:00 +02:00
561915c822 Bug 1019816 - Developer option to store logcat to sdcard by shaking the phone. r=gerard-majax 2014-08-22 10:32:00 +02:00