History log of /system/core/logd/tests/logd_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d26b2cacadc3f0cc143b3afd392f6a0135dc16bd 23-Feb-2016 Mark Salyzyn <salyzyn@google.com> logd: sock_alloc_send_pskb starves pruning

(cherry pick from commit 5c77ad55d0cdee84cd45fd5d0d066f3c61d76ce6)

Allow socket send syscall to terminate after 32 seconds if reader
stalled because of memory pressure allocating new network buffers

Add a gTest to catch regressions, add security buffer to log_dump

Bug: 27242723
Change-Id: Idaa6699d9d284e7f5f723ae0e76b3d6aa3371489
/system/core/logd/tests/logd_test.cpp
ef4e4f3f078d6bd5d0928c5fc788082805cc50bc 21-Jan-2016 Mark Salyzyn <salyzyn@google.com> logd: test wrap functionality

Behavior is modified now, so react by fortifying the tests

Bug: 26447386
Change-Id: I6295783a0bc75282499aeba503a86bdb846908b5
/system/core/logd/tests/logd_test.cpp
7b4a2049b054dfeb8478b8eacaae754ff7df5d21 07-Dec-2015 Mark Salyzyn <salyzyn@google.com> logd: test drop __unused

Change-Id: I1ccf49809b8a0a125601bdb52834c463e2d94165
/system/core/logd/tests/logd_test.cpp
fc9f5b8af440974fb390f4572fa526cc68d824db 01-Dec-2015 Mark Salyzyn <salyzyn@google.com> logd: test wakeup on wrap timeout

Change-Id: I8dd605452f1fef7706a627eedc251e39bb2e34cc
/system/core/logd/tests/logd_test.cpp
074f542476fc3bb1eac52541e478bd84fd7b3116 01-Dec-2015 Mark Salyzyn <salyzyn@google.com> logd: test: leniency towards background cgroup

Accepting a new lower standard of performance due to
the realities of the background cgroup.

Change-Id: Icd85050ffbf7f0129dd4c053323faedd0ff74048
/system/core/logd/tests/logd_test.cpp
f33657da4da403e32c79ff1fba4a496f231c3775 01-Dec-2015 Mark Salyzyn <salyzyn@google.com> logd: test: statistics report chatty effective percentage

Add parsing to recognize optional chatty effective
percentage field as reported in the logger statistics.

Bug: 22855208
Change-Id: Id9c5e4a907ed0f9319beb9ddbfa27f4844bffc7d
/system/core/logd/tests/logd_test.cpp
cb41e3673b81f246a45ac1ab38ba0c8490ceb0a1 28-Jul-2015 Mark Salyzyn <salyzyn@google.com> logd: deprecate TARGET_USES_LOGD

This is not the kernel logger you are looking for

Bug: 22787659
Change-Id: Idbf8fae908287ae9a96007b6353ec56d3c49f5bf
/system/core/logd/tests/logd_test.cpp
62d6a2a921d5ee5cc455e6ae5e62d4ad2474fd25 26-May-2015 Mark Salyzyn <salyzyn@google.com> logd: test modernization

Bug: 19603976
Change-Id: Ie920c128e7e6a436fea7a96c7d68bc39e13a2ad4
/system/core/logd/tests/logd_test.cpp
4ed16b4381e6723670575ff8da3cfe12fe74998a 03-Mar-2015 Mark Salyzyn <salyzyn@google.com> Revert "logd: Add minimum time bucket statistics"

This forward port reverts
commit e457b74ce6ee6d799812dc2ec5e4b8b18bcd3e91

No longer as necessary once we add
liblog: Instrument logging of logd write drops
Although this provided an indication of how close statistically we
were to overloading logd it is simpler to understand fails thus to
hunt and peck a corrected value for /proc/sys/net/unix/max_dgram_qlen

Change-Id: I2b30e0fc30625a48fd11a12c2d2cc6a41f26226f
/system/core/logd/tests/logd_test.cpp
634118e261d2a3c6f67212f43a4ec3f075d705b6 13-Sep-2014 Chih-Hung Hsieh <chh@google.com> logd: fix format-extra-args warning.

Bug: 17409250
Change-Id: Id50ebb57754b12d69ed605d0e2901b8e05c607c6
/system/core/logd/tests/logd_test.cpp
89472df4cd799182062656352958edb12341b411 10-Jul-2014 Mark Salyzyn <salyzyn@google.com> logd: test: disable kernel LOGGER

Bug: 15384806
Change-Id: I3072d6dd0618fa9ebe151c78a85eb121327f9df3
/system/core/logd/tests/logd_test.cpp
6e9aaae9eda474beea26802c360b45e96402399a 13-Jun-2014 Mark Salyzyn <salyzyn@google.com> logd: test: deal with spam filter turned off

Change-Id: I759c65e869d0c7cd81063fa7993ba3d67ef9cd06
/system/core/logd/tests/logd_test.cpp
0c57bd864d2353e8f03c8b128bdacb58fc5dce95 06-Jun-2014 Mark Salyzyn <salyzyn@google.com> logd: test: modernize

- Correct default tense for kernel or user logger
- harden code that parses the benchmark data
- give more meaning to the spam filter test

Change-Id: I97699037ca9d56718f53f08d22be79092fb431de
/system/core/logd/tests/logd_test.cpp
c61895ac3a9717dac6b24ce210aab0ccae6747f4 30-Apr-2014 Mark Salyzyn <salyzyn@google.com> logd: turn on -Werror

- Deal with some -Wunused / -Wunused-variable issues

Change-Id: Ic86cd7b0680868ad0536198b71a34cb19134fc21
/system/core/logd/tests/logd_test.cpp
e821dace4161c5fdf19d8af036381b850d0fb988 09-Apr-2014 Mark Salyzyn <salyzyn@google.com> logd: enable UID spam filter and test

Change-Id: Ie9c7a744e341e6e64afa14973d4d095717c97933
/system/core/logd/tests/logd_test.cpp
696817d3524e2fb8bbbcc2ec3526f4383f789163 18-Apr-2014 Mark Salyzyn <salyzyn@google.com> liblog: Statistics truncated to 16384 bytes

- if network read/write broken up, reassemble the pieces.
- Use a 20ms poll to check if a new fragment has been
sent by the other side.
- fixup logd-unit-tests to take a (simplified) fragment
from the liblog changes.

Bug: 14164765
Change-Id: I98ff87888c119e1e8349717646d0f733e8971bc8
/system/core/logd/tests/logd_test.cpp
99f47a9e7c4374f2bbfc18e4a97aa7848245ea33 07-Apr-2014 Mark Salyzyn <salyzyn@google.com> logd: liblog: logcat: debuggerd: Add LOG_ID_CRASH

Change-Id: Iea453764a1a4fc1661f461f10c641c30150e4d20
/system/core/logd/tests/logd_test.cpp
d3ba665020b3fd1923c1b9ab1d63cb3dc21430ac 28-Feb-2014 Mark Salyzyn <salyzyn@google.com> logd: Add logd_test

* Test statistics output, all four main log id types
are checked to be present, and output is properly
formatted with header (ascii new-line terminated
byte count) and trailer (newline formfeed) frames.
* On dev build test dgram_qlen, circumvent if
liblog benchmarks executed first though.
* Test if kernel and user space loggers are
present, and if any content has leaked to both.
* test benchmark and use it to verify worst UID pruning

Change-Id: I890c89f64825956f40108de806ed750b0170ac6c
/system/core/logd/tests/logd_test.cpp