Hash only warning "file:line" in warning collector.

Before this change, the signature of a warning is computed from
a string such as this one:

/mnt/host/source/src/third_party/kernel/files/drivers/gpu/drm/i915/intel_dp.c:351 intel_dp_check_edp+0x6b/0xb9()

This change removes all text after the first space, i.e. the function name
and IP offset.  The latter varies across architectures and can vary across
builds, giving different signatures for the same warning.


Change-Id: Ied65dbd8edd734bd152a9dd35aaa48f1e8f1b9e8
Reviewed-on: https://gerrit.chromium.org/gerrit/49505
Commit-Queue: Luigi Semenzato <semenzato@chromium.org>
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Tested-by: Luigi Semenzato <semenzato@chromium.org>
1 file changed
tree: b2f497394526a35c83f492eb3dd349116d231716
  1. crash_reporter/