summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-11-19 10:06:11 -0800
committerTom Cherry <tomcherry@google.com>2019-11-19 10:10:37 -0800
commit1a75a8cd4b46ee6ea596ee5d5c71256d21a2085b (patch)
treeb5200ba33b99c6d6e6abdebbdec235f34d4d26c4 /trusty/coverage/coverage_test.cpp
parent7d16aedc47552bbb67563ef6754a77c88b5821ea (diff)
liblog: remove memset() before recv().
This is unneeded, since we're already checking the length returned by recv() and log_msg that is read for validity. It costs ~4% of CPU with `logcat -s` and ~2% of CPU when running simpleperf for 1 second on walleye on master. Bug: 144311420 Test: logcat works, simpleperf doesn't show memset() costing as much. Change-Id: I986e7e96518774034340f1b1201a2071a904e3bb
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions