Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d633c70d authored by Josh Gao's avatar Josh Gao Committed by Automerger Merge Worker
Browse files

Merge "Generate text tombstones from proto tombstones by default." am:...

Merge "Generate text tombstones from proto tombstones by default." am: 8c164946 am: 844ce557 am: 37251d2c

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1595302

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I750c42d890dc79c2010841690e2e03818d232301
parents 44dd055d 37251d2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -619,7 +619,7 @@ void engrave_tombstone(unique_fd output_fd, unique_fd proto_fd, unwindstack::Unw
  log.tfd = output_fd.get();
  log.amfd_data = amfd_data;

  bool translate_proto = GetBoolProperty("debug.debuggerd.translate_proto_to_text", false);
  bool translate_proto = GetBoolProperty("debug.debuggerd.translate_proto_to_text", true);
  if (translate_proto) {
    tombstone_proto_to_text(tombstone, [&log](const std::string& line, bool should_log) {
      _LOG(&log, should_log ? logtype::HEADER : logtype::LOGS, "%s\n", line.c_str());