summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-01-14 18:12:43 +0100
committerLuboš Luňák <l.lunak@collabora.com>2021-01-20 18:56:40 +0100
commitea610df36842305ef7e26d964ad0a1677be5f553 (patch)
tree620cec280fab112e530da642592974606f855725 /include
parent9e8cb640ed16a392d628c0ec513f6b4f5b947bfd (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>
Diffstat (limited to 'include')
-rw-r--r--include/desktop/crashreport.hxx1
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