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-24 14:19:32 -0700
commitcbfebdbadb283ee13c555e7d79037fb5089caa4a (patch)
tree397edaeb3e30bf1d99e096254b410dbb43a26136 /trusty/coverage/coverage_test.cpp
parent9aca01907d6f72bc8c481293a90bf6fe9395a2c7 (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 Change-Id: Icc18c0c22e62340994e5c26aedb72282d61c1541
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions