• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

Revision9e25e75f4f895473990421264cd7d3fa7f90fb95 (tree)
Zeit2016-09-04 08:46:51
AutorScott Mertz <scott@cyng...>
CommiterSteve Kondik

Log Message

debuggerd: add CM version to tombstones

Change-Id: I7822a2e133a2f326ad2d8da8f79b0064344d59bf

Ändern Zusammenfassung

Diff

--- a/debuggerd/tombstone.cpp
+++ b/debuggerd/tombstone.cpp
@@ -167,10 +167,13 @@ static const char* get_sigcode(int signo, int code) {
167167 static void dump_header_info(log_t* log) {
168168 char fingerprint[PROPERTY_VALUE_MAX];
169169 char revision[PROPERTY_VALUE_MAX];
170+ char cm_version[PROPERTY_VALUE_MAX];
170171
172+ property_get("ro.cm.version", cm_version, "unknown");
171173 property_get("ro.build.fingerprint", fingerprint, "unknown");
172174 property_get("ro.revision", revision, "unknown");
173175
176+ _LOG(log, logtype::HEADER, "CM Version: '%s'\n", cm_version);
174177 _LOG(log, logtype::HEADER, "Build fingerprint: '%s'\n", fingerprint);
175178 _LOG(log, logtype::HEADER, "Revision: '%s'\n", revision);
176179 _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING);