Граф коммитов

18 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Lissy 5f39b1bca8 Bug 1212265 - Collect recovery log as part of LogShake. r=gwagner 2015-10-07 02:50:00 +02:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
James Hobin c1fba43d29 Bug 1188999 - LogShake does not fetch about:memory reports. r=gerard-majax
commit a4a4e4216c8b7ca06bfe1d5ceeaecd54abc1a7d1
Author: James Hobin <hobinjk@gmail.com>

Fixes issue where LogShake would race in its reading code. Adds basic test
which should detect this specific race condition.
2015-08-04 13:47:00 +02:00
James Hobin 9a4f9e7a78 Bug 1079763 - Compress logs produced by LogShake. r=gerard-majax 2015-07-07 16:24:00 +02:00
James Hobin 0527511de5 Bug 1101994 - Add a low-pass filter to LogShake's shake detection and refactor unit tests to be less redundant. r=mhenretty, r=gerard-majax 2015-06-10 17:22:00 -04:00
Dale Harvey a347a03429 Bug 1174682 - Rename logshake-screenshot to screenshot.png. r=gerard-majax 2015-06-15 14:56:07 +01:00
Dale Harvey 518d2c8354 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 fd47f66b1b Bug 1136784 - Add screenshot to LogShake produced data. r=ochameau, r=gwagner 2015-03-11 01:35:00 -04:00
Alexandre Lissy 859cd5f588 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 ff6bd46c37 Bug 1103958 - Dump Gecko AppInfos and about:memory in LogShake. r=gwagner 2015-01-26 13:16:00 -05:00
Carsten "Tomcat" Book f15a4ceaa1 Backed out changeset a5adaf7a846c (bug 1103958) for failing X1 Tests 2015-01-09 14:04:04 +01:00
Alexandre Lissy ab0dc8138f Bug 1103958 - Dumping Gecko AppInfos and about:memory in LogShake. r=gwagner 2015-01-08 06:05:00 +01:00
Alexandre Lissy 1e1e033d34 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 b1a47c39c4 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 f159c5a041 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 5961726451 Bug 1067329 - Fix logshake directory computation. r=gwagner
--HG--
extra : rebase_source : 3b1bcbe2ca9f6f38ebad792c19d0b943e4f67edf
2014-10-08 03:25:00 +02:00
Alexandre Lissy f8a342dcb2 Bug 1079758 - Send logshake capture start event. r=gwagner
--HG--
extra : rebase_source : a4503b9f96e31001aaa4388c1ca6ee5cfe477d18
2014-10-08 22:49:00 +02:00
1f9e3f30c2 Bug 1019816 - Developer option to store logcat to sdcard by shaking the phone. r=gerard-majax 2014-08-22 10:32:00 +02:00