diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-01-14 18:12:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-21 10:34:06 +0100 |
commit | 8d36791e1527ef5441c7023ebaf65cfa88778df9 (patch) | |
tree | e0128f8a0c30095d5b06d30983d0a2d5011ef658 /include | |
parent | f9f5a92b9612e134994aad5f05a543860c6f098c (diff) |
make crashreports include info about the system (CPU,memory)
This may be useful when we again will be deciding on how well something
is or isn't supported (such as when we were making SSE2 required
on Windows).
Breakpad already kind of provides this information (as CPU family, model
and stepping), but that appears to be next to useless in practice
(on X86_64 it doesn't even say the CPU vendor).
So send as metadata CPU name, flags (SSE etc.) and system RAM, as these
may be possibly useful information.
Change-Id: I77ed935d78501d49f70e8b9769fab6be79f1db77
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109358
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
(cherry picked from commit ea610df36842305ef7e26d964ad0a1677be5f553)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109690
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/desktop/crashreport.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/desktop/crashreport.hxx b/include/desktop/crashreport.hxx index 8235cff03501..8d55b85487d0 100644 --- a/include/desktop/crashreport.hxx +++ b/include/desktop/crashreport.hxx @@ -77,6 +77,7 @@ private: static std::string getIniFileName(); static void writeCommonInfo(); + static void writeSystemInfo(); static void writeToFile(std::ios_base::openmode Openmode); // when we create the ExceptionHandler we have no access to the user // profile yet, so update when we have access |