summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2017-03-02 07:47:21 -0800
committerMark Salyzyn <salyzyn@google.com>2017-03-03 11:10:11 -0800
commitb1d150bc42d363e73002ed6076d5a413114ead44 (patch)
tree49a44e941091c1989892bbdf68381db7df7257e4 /libutils/ProcessCallStack.cpp
parent0ab93fdf3ae8af8bb9d8535bbcd5ec1808bf796f (diff)
liblog: logprint, error return and truncated data
android_log_processBinaryLogBuffer and android_log_processLogBuffer error return should have message and messageLen fields set to zero, or to a valid-but-truncated buffer so that we can discern the difference. This will resolve an issue with reporting content from an uninitialized field in liblogcat should caller add --debug flag. To enhance the debugging capability, truncated string events because of the logger limits are provided rather than dropping the field, but still with an error return. Some minor coding style issues resolved. Add required, or remove extraneous spaces. Use C-style comments only. Test: gtest liblog-unit-tests Bug: 27405083 Bug: 35326290 Change-Id: I4a7ddd7278fb1c582f921e1ba10e0765fadb791b
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions