commit | e8aa9759ea47d090adfa1924a9950373f090a973 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Fri Feb 10 11:54:23 2023 -0800 |
committer | Yabin Cui <yabinc@google.com> | Fri Feb 10 15:31:31 2023 -0800 |
tree | 4d5d7b0b73f1aed6b2666a3aed86d3f7f541140e | |
parent | 5b967e92897f9856c3fc6d5bd7498ff2b5043b61 [diff] |
simpleperf: Separate EOF and error in ReadFileFeature. Currently ReadFilFeature() wrongly prints error message when EOF (no more file feature). And callers don't know if there is an error. So don't print error when EOF, and add parameter to return error. Bug: none Test: run simpleperf_unit_test Change-Id: Ica7c68971f87d70864836cdcba380eabe5c63a1a