Merge "Print number of frames" am: 152de539df

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

Change-Id: I070e090670df35c4bf7aa8c56df2de9d244bdef5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Florian Mayer 2023-04-10 21:20:23 +00:00 committed by Automerger Merge Worker
commit 719caf8746

View file

@ -190,6 +190,7 @@ static void print_backtrace(CallbackType callback, const Tombstone& tombstone,
static void print_thread_backtrace(CallbackType callback, const Tombstone& tombstone,
const Thread& thread, bool should_log) {
CBS("");
CB(should_log, "%d total frames", thread.current_backtrace().size());
CB(should_log, "backtrace:");
if (!thread.backtrace_note().empty()) {
CB(should_log, " NOTE: %s",