Commit Graph

4 Commits

Author SHA1 Message Date
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
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
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