summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.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
commit2a0044e4b00e7529dc8bc49464ec7b31b2e544f4 (patch)
tree76b7f3f7e2ef8a14c01fbc98dfe748040a0eacbb /libutils/ProcessCallStack.cpp
parenta9ef4dc7a2f023295111762db1a67ae5c942b016 (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/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions