debuggerd: add tequila version to tombstones
Change-Id: I7822a2e133a2f326ad2d8da8f79b0064344d59bf debuggerd: Rebrand tombstone header to LineageOS [harryyoud]: Use new props for 15.1 [rashed]: Bah... use GetProperty [mkbestas]: Rewrite for T Change-Id: Idd08c2eb7e395b464b1510742bf52833f465db08 Signed-off-by: zlewchan <zlewchan@icloud.com>
This commit is contained in:
parent
80802ade08
commit
d272e0ee34
3 changed files with 3 additions and 0 deletions
|
@ -719,6 +719,7 @@ void engrave_tombstone_proto(Tombstone* tombstone, unwindstack::AndroidUnwinder*
|
|||
} else {
|
||||
result.set_guest_arch(Architecture::NONE);
|
||||
}
|
||||
result.set_tequila_version(android::base::GetProperty("ro.tequila.version", "unknown"));
|
||||
result.set_build_fingerprint(android::base::GetProperty("ro.build.fingerprint", "unknown"));
|
||||
result.set_revision(android::base::GetProperty("ro.revision", "unknown"));
|
||||
result.set_timestamp(get_timestamp());
|
||||
|
|
|
@ -594,6 +594,7 @@ static void print_guest_thread(CallbackType callback, const Tombstone& tombstone
|
|||
|
||||
bool tombstone_proto_to_text(const Tombstone& tombstone, CallbackType callback) {
|
||||
CBL("*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***");
|
||||
CBL("tequilaOS Version: '%s'", tombstone.tequila_version().c_str());
|
||||
CBL("Build fingerprint: '%s'", tombstone.build_fingerprint().c_str());
|
||||
CBL("Revision: '%s'", tombstone.revision().c_str());
|
||||
CBL("ABI: '%s'", abi_string(tombstone.arch()));
|
||||
|
|
|
@ -25,6 +25,7 @@ message CrashDetail {
|
|||
message Tombstone {
|
||||
Architecture arch = 1;
|
||||
Architecture guest_arch = 24;
|
||||
string tequila_version = 2137;
|
||||
string build_fingerprint = 2;
|
||||
string revision = 3;
|
||||
string timestamp = 4;
|
||||
|
|
Loading…
Reference in a new issue