Fix events log parsing on ARM platform

The patch mainly fixes the bug of parsing the additional evdev info
(bitmasks) in the event log file on ARM platform where the size of
long is 4 bytes instead of 8 bytes on x86_64 machines. Therefore,
extra remaining bytes in the line should be read and skipped.

BUG=chromium:236282
TEST=run_remote_test --remote daisy_ip platform_GesturesRegressionTest

Change-Id: I5f5a239da209b172b6d0768c279311977479bc9f
Reviewed-on: https://gerrit.chromium.org/gerrit/49458
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
1 file changed
tree: 796ae8166264eb34aa03538392d3cc2dbbef212e
  1. include/
  2. src/
  3. common.mk
  4. Makefile