Add timestamp from core
authorTim Pepper <timothy.c.pepper@linux.intel.com>
Fri, 28 Sep 2012 00:22:15 +0000 (17:22 -0700)
committerTim Pepper <timothy.c.pepper@linux.intel.com>
Fri, 28 Sep 2012 00:22:15 +0000 (17:22 -0700)
commit7add2a6343ba53ca859a521037d59df98725a652
tree6e71bc97c4085455df53ac9f1a6ddd6aeb9bb828
parentcdecf27fbff423a0ed510ba7d3c234d6a93906b0
Add timestamp from core

The server has been attributing a timestamp to a crash report based on the
time the report is received.  This may differ greatly from the actual time
of the issue.  This is easily fixed with a stat of the corefile.

Unfortunately, the same can't as easily be done for getting the os-build,
which may also be incorrectly attributed on the client side based on the
/etc/os-release file's contents at the time of a crash's processing by
corewatcher, as opposed to at the actual time of the crash.

Tracking the combination of the reported os_build, core time, and receiving
time should give us more rich reporting and ability to discern problems
between different classes of users (eg: more/less network connectedness,
more/less aggressive adoption of updates).

Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
src/coredump.c