am 0c3177c5: am 64393789: Merge "logd: worst uid record watermark part deux"
* commit '0c3177c5b13b0826068f922f26f9b1eacbc0fac0': logd: worst uid record watermark part deux
This commit is contained in:
commit
86c8be0443
|
@ -467,7 +467,11 @@ void LogBuffer::prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) {
|
|||
// unmerged drop message
|
||||
if (dropped) {
|
||||
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;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue