summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2018-04-24 14:13:30 -0700
committerTom Cherry <tomcherry@google.com>2018-04-25 09:43:21 -0700
commit398b551d51ef8bda9836c3c629aa2dbe9c30c39d (patch)
tree3eef4654976b42effed55b41912139a547347357 /trusty/coverage/coverage_test.cpp
parent564e3581cb72d117f25d2d729af2af922e86e0f1 (diff)
logd: notify kernel log readers of new messages
LogBuffer::log() returns either a negative number on error or a positive number indicating the length of the message written. Therefore, the check to notify kernel log readers of a new message should be that this function's return value is > 0. Bug: 78209416 Test: `adb logcat -b kernel` updates when new log messages are present Merged-In: Icc18c0c22e62340994e5c26aedb72282d61c1541 Change-Id: Icc18c0c22e62340994e5c26aedb72282d61c1541 (cherry picked from commit cbfebdbadb283ee13c555e7d79037fb5089caa4a)
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions