summaryrefslogtreecommitdiffstats
path: root/logd/LogWhiteBlackList.cpp
Commit message (Collapse)AuthorAgeFilesLines
* logd: white and black switch to std::listMark Salyzyn2015-08-201-17/+11
| | | | | | | (cherry pick from commit e0ed16c6db5c443ecb5f9f7daca95a111fd1f582) Bug: 23350706 Change-Id: I981d9fa63a0d87eb309485cca93cfc44fc0506cc
* logd: CleanupMark Salyzyn2015-05-131-6/+3
| | | | | | | | | (cherry pick from commit 7718778793b106498b931dd708a466cf3a6f6a0f) - Android Coding Standard for Constructors - Side effects NONE Change-Id: I2cda9dd73f3ac3ab58f394015cb810820093d47b
* Revert: "logd: default off by-UID spam filter"Mark Salyzyn2015-04-101-2/+2
| | | | | | | | | | | With "logd: inject first UID by log buffer message" we can remove the FUD introduced by having the UID spam filter on This reverts commit 4141cb2391cfd7211ffff7e53841c6c52869d525 Bug: 19608965 Bug: 14469172 Change-Id: Ifdc20b099e0e426546525b11c1dfe8cc0f830a02
* logd: annotate worst-UID pruned entriesMark Salyzyn2015-04-101-1/+0
| | | | | | | | | | | | | | | | - internal dropped entries are associated by prune by worst UID and are applied by UID and by PID - track dropped entries by rewriting them in place - merge similar dropped entries together for same UID(implied), PID and TID so that blame can more clearly be placed - allow aging of dropped entries by the general backgound pruning - report individual dropped entries formatted to reader - add statistics to track dropped entries by UID, the combination of statistics and dropped logging can track over-the-top Chattiest clients. Bug: 19608965 Change-Id: Ibc68480df0c69c55703270cd70c6b26aea165853
* Add missing <malloc.h> and <string.h> includes.Elliott Hughes2015-01-281-0/+1
| | | | Change-Id: Ia41756e607663d056e7d2fdd7ecbec7e5841a913
* logd: fix format-extra-args warning.Chih-Hung Hsieh2014-09-121-4/+9
| | | | Bug: 17409250 Change-Id: Id50ebb57754b12d69ed605d0e2901b8e05c607c6
* logd: default off by-UID spam filterMark Salyzyn2014-05-061-2/+2
| | | | | Bug: 14469172 Change-Id: I37c8dbcea0490afb994cbe6f033591fea1c58bc8
* logd: enable UID spam filter and testMark Salyzyn2014-04-251-1/+1
| | | | Change-Id: Ie9c7a744e341e6e64afa14973d4d095717c97933
* Merge "logd: liblog: logcat: enable prune features for user"Mark Salyzyn2014-04-091-4/+0
|\
| * logd: liblog: logcat: enable prune features for userMark Salyzyn2014-04-021-4/+0
| | | | | | | | | | | | - Enable whitelist, blacklist and logsize tuneables for user Change-Id: Id0c283844c71c5263a8cfbebf2e550f7ac415858
* | logd: Turn off default prune by worst UIDMark Salyzyn2014-04-071-1/+1
|/ | | | | | - Algorithm places too much weight on stack dumps Change-Id: Ibb31a59892870397b780965ec791f47a4ce87eaf
* logcat: white and blacklist failureMark Salyzyn2014-03-211-2/+2
| | | | | | | | - logcat improperly squashes out count - logcat test enhanced to catch failure - logd places entries in ascending sorted order Change-Id: If39d8e2c40852b520c98e7840034ab63c2538e5d
* logd: liblog: logcat: Add LogWhiteBlackListMark Salyzyn2014-03-131-0/+243
- liblog android_logger_get_log_size and android_logger_get_readable_size adjusted to return long instead of int because of -G flag extending range NB: ifdef'd only for userdebug and eng builds - liblog Add android_logger_[sg]et_prune_list and android_logger_set_log_size - logcat Add -P, -p and -G flags - logd Add LogWhiteBlackList and configurable log size (cherry picked from commit 18a5432158ad43b8faefe4950b30e760200ce0b4) Change-Id: I1572338c1b34bd968ad7867857ef708156ec3b6a