system/corennnnn
Revision | 9e25e75f4f895473990421264cd7d3fa7f90fb95 (tree) |
---|---|
Zeit | 2016-09-04 08:46:51 |
Autor | Scott Mertz <scott@cyng...> |
Commiter | Steve Kondik |
debuggerd: add CM version to tombstones
Change-Id: I7822a2e133a2f326ad2d8da8f79b0064344d59bf
@@ -167,10 +167,13 @@ static const char* get_sigcode(int signo, int code) { | ||
167 | 167 | static void dump_header_info(log_t* log) { |
168 | 168 | char fingerprint[PROPERTY_VALUE_MAX]; |
169 | 169 | char revision[PROPERTY_VALUE_MAX]; |
170 | + char cm_version[PROPERTY_VALUE_MAX]; | |
170 | 171 | |
172 | + property_get("ro.cm.version", cm_version, "unknown"); | |
171 | 173 | property_get("ro.build.fingerprint", fingerprint, "unknown"); |
172 | 174 | property_get("ro.revision", revision, "unknown"); |
173 | 175 | |
176 | + _LOG(log, logtype::HEADER, "CM Version: '%s'\n", cm_version); | |
174 | 177 | _LOG(log, logtype::HEADER, "Build fingerprint: '%s'\n", fingerprint); |
175 | 178 | _LOG(log, logtype::HEADER, "Revision: '%s'\n", revision); |
176 | 179 | _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING); |