mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Add CPU arch to short fault info
This commit is contained in:
parent
59d821e164
commit
ca13b13d81
@ -371,8 +371,8 @@ try
|
|||||||
/// in case of double fault.
|
/// in case of double fault.
|
||||||
|
|
||||||
LOG_FATAL(log, "########## Short fault info ############");
|
LOG_FATAL(log, "########## Short fault info ############");
|
||||||
LOG_FATAL(log, "(version {}{}, build id: {}, git hash: {}) (from thread {}) Received signal {}",
|
LOG_FATAL(log, "(version {}{}, build id: {}, git hash: {}, architecture: {}) (from thread {}) Received signal {}",
|
||||||
VERSION_STRING, VERSION_OFFICIAL, daemon ? daemon->build_id : "", GIT_HASH,
|
VERSION_STRING, VERSION_OFFICIAL, daemon ? daemon->build_id : "", GIT_HASH, SYSTEM_PROCESSOR,
|
||||||
thread_num, sig);
|
thread_num, sig);
|
||||||
|
|
||||||
std::string signal_description = "Unknown signal";
|
std::string signal_description = "Unknown signal";
|
||||||
|
@ -15,3 +15,5 @@ const char * VERSION_DESCRIBE = "@VERSION_DESCRIBE@";
|
|||||||
const unsigned VERSION_INTEGER = @VERSION_INTEGER@;
|
const unsigned VERSION_INTEGER = @VERSION_INTEGER@;
|
||||||
|
|
||||||
const char * VERSION_GITHASH = "@VERSION_GITHASH@";
|
const char * VERSION_GITHASH = "@VERSION_GITHASH@";
|
||||||
|
|
||||||
|
const char * SYSTEM_PROCESSOR = "@CMAKE_SYSTEM_PROCESSOR@";
|
||||||
|
@ -16,6 +16,7 @@ extern const char * VERSION_OFFICIAL;
|
|||||||
extern const char * VERSION_FULL;
|
extern const char * VERSION_FULL;
|
||||||
extern const char * VERSION_DESCRIBE;
|
extern const char * VERSION_DESCRIBE;
|
||||||
extern const unsigned VERSION_INTEGER;
|
extern const unsigned VERSION_INTEGER;
|
||||||
|
extern const char * SYSTEM_PROCESSOR;
|
||||||
|
|
||||||
/// These fields are frequently changing and we don't want to have them in the header file to allow caching.
|
/// These fields are frequently changing and we don't want to have them in the header file to allow caching.
|
||||||
extern const char * VERSION_GITHASH;
|
extern const char * VERSION_GITHASH;
|
||||||
|
Loading…
Reference in New Issue
Block a user