Merge "logd: worst uid record watermark part deux" into mnc-dr-dev
This commit is contained in:
commit
bd44f59f5b
1 changed files with 5 additions and 1 deletions
|
|
@ -467,7 +467,11 @@ void LogBuffer::prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) {
|
||||||
// unmerged drop message
|
// unmerged drop message
|
||||||
if (dropped) {
|
if (dropped) {
|
||||||
last.add(e);
|
last.add(e);
|
||||||
mLastWorstUid[id][e->getUid()] = it;
|
if ((e->getUid() == worst)
|
||||||
|
|| (mLastWorstUid[id].find(e->getUid())
|
||||||
|
== mLastWorstUid[id].end())) {
|
||||||
|
mLastWorstUid[id][e->getUid()] = it;
|
||||||
|
}
|
||||||
++it;
|
++it;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue