From 55e0f1c8bdb5d7299ba0c79e084b7ac749eb4c3b Mon Sep 17 00:00:00 2001 From: Ian McKellar Date: Mon, 31 Mar 2014 15:59:31 -0700 Subject: [PATCH] Fix stack trace logging in RefBase. This was broken about 5 months ago in change I78435ed49aa196a0efb45bf9b2d58b62c41737d3. See: https://goto.google.com/jhtss Change-Id: Icc32993552efed3015bc1b79a7bd872d7510e020 --- libutils/RefBase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libutils/RefBase.cpp b/libutils/RefBase.cpp index f398a82ce..385c226fb 100644 --- a/libutils/RefBase.cpp +++ b/libutils/RefBase.cpp @@ -109,7 +109,7 @@ public: char inc = refs->ref >= 0 ? '+' : '-'; ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); #if DEBUG_REFS_CALLSTACK_ENABLED - refs->stack.dump(LOG_TAG); + refs->stack.log(LOG_TAG); #endif refs = refs->next; } @@ -123,7 +123,7 @@ public: char inc = refs->ref >= 0 ? '+' : '-'; ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); #if DEBUG_REFS_CALLSTACK_ENABLED - refs->stack.dump(LOG_TAG); + refs->stack.log(LOG_TAG); #endif refs = refs->next; }