summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2017-02-21 16:25:58 -0800
committerMark Salyzyn <salyzyn@google.com>2017-02-28 14:23:18 -0800
commit48fb417e61132b053a1abef91f1fe01ab6ea6401 (patch)
tree76b7f3f7e2ef8a14c01fbc98dfe748040a0eacbb /libutils/Unicode.cpp
parent408bd5679afdaa61c3253f977ac3d4fd81c8aaa7 (diff)
liblog: event log tags cache miss call logd for update
Deal with cache miss in the event tag map resources and switch to "Plan B" to ask long-path to logd for a determination on the tag, name and format. logcat-unit-tests liblogcat.descriptive does an under-the-hood call to logd to add a new logtag but the in-process mapping fails to pick it up because the /dev/event-tag-map map is SHARED PRIVATE for a few moments to garner some (linux) efficiency with other copies that are in the process. Without the workaround of marking the mapping dirty to be reread, we are using this change as the proper workaround that fixes the later parts of this test. Test: gTest logcat-unit-tests --gtest_filter=liblogcat.descriptive Bug: 31456426 Bug: 35326290 Change-Id: Ibe54d4df00ed92248e1e644ecebc95f60b222b4d
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions