diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2016-10-24 16:22:17 -0700 |
|---|---|---|
| committer | Mark Salyzyn <salyzyn@google.com> | 2016-10-25 21:48:33 +0000 |
| commit | 60636fa872382a8cde0440b72cdfc9032b5fa7d0 (patch) | |
| tree | 8284ae19bd944113d81e95709fecd09c74d1c2f9 /libutils/ProcessCallStack.cpp | |
| parent | d97efe0383a8bdad7a335b268d4492c9ee5e39c6 (diff) | |
logd: getTag() functional for chatty entries
getTag() becomes invalid when entry is dropped because mMsg
disappears to save space; but the per-tag spam filter depends on it
still being valid. Conserve space in LogBufferElement by optimizing
the size of the fields, then add a new mTag field that is set in the
object constructor. Add an isBinary() method.
SideEffects: save 12 bytes/log message overhead on 64-bit.
Test: define DEBUG_CHECK_FOR_STALE_ENTRIES and look for stale entries
Bug: 32247044
Change-Id: Iaa5f416718a92c9e0e6ffd56bd5260d8b908d5c0
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions
