Merge "tombstoned: Improve message on java trace completion."

am: 111f351762

Change-Id: I892987708bfee1106a09f10252ac5eee9bbf1a87
This commit is contained in:
Narayan Kamath 2017-06-23 08:20:53 +00:00 committed by android-build-merger
commit 91492a56ca

View file

@ -345,7 +345,14 @@ static void crash_completed_cb(evutil_socket_t sockfd, short ev, void* arg) {
}
if (!crash->crash_path.empty()) {
LOG(ERROR) << "Tombstone written to: " << crash->crash_path;
if (crash->crash_type == kDebuggerdJavaBacktrace) {
LOG(ERROR) << "Traces for pid " << crash->crash_pid << " written to: " << crash->crash_path;
} else {
// NOTE: Several tools parse this log message to figure out where the
// tombstone associated with a given native crash was written. Any changes
// to this message must be carefully considered.
LOG(ERROR) << "Tombstone written to: " << crash->crash_path;
}
}
fail: