diff options
author | Scott Mertz <scott@cyngn.com> | 2016-05-25 15:47:42 -0700 |
---|---|---|
committer | Scott Mertz <scott@cyngn.com> | 2016-05-25 15:48:42 -0700 |
commit | 2a0279924b973308cb2a95cc92ab62b09b54cb3f (patch) | |
tree | 5b69142badf1fcbab072ec7dfce7f3dd4162a373 | |
parent | 516d6913dc5acd695581b3999fab0b5192353022 (diff) | |
download | system_core-2a0279924b973308cb2a95cc92ab62b09b54cb3f.zip system_core-2a0279924b973308cb2a95cc92ab62b09b54cb3f.tar.gz system_core-2a0279924b973308cb2a95cc92ab62b09b54cb3f.tar.bz2 |
debuggerd: add CM version to tombstones
Change-Id: I7822a2e133a2f326ad2d8da8f79b0064344d59bf
-rw-r--r-- | debuggerd/tombstone.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debuggerd/tombstone.cpp b/debuggerd/tombstone.cpp index aeffc66..0c9fc49 100644 --- a/debuggerd/tombstone.cpp +++ b/debuggerd/tombstone.cpp @@ -167,10 +167,13 @@ static const char* get_sigcode(int signo, int code) { static void dump_header_info(log_t* log) { char fingerprint[PROPERTY_VALUE_MAX]; char revision[PROPERTY_VALUE_MAX]; + char cm_version[PROPERTY_VALUE_MAX]; + property_get("ro.cm.version", cm_version, "unknown"); property_get("ro.build.fingerprint", fingerprint, "unknown"); property_get("ro.revision", revision, "unknown"); + _LOG(log, logtype::HEADER, "CM Version: '%s'\n", cm_version); _LOG(log, logtype::HEADER, "Build fingerprint: '%s'\n", fingerprint); _LOG(log, logtype::HEADER, "Revision: '%s'\n", revision); _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING); |