am dfdbb64f: Merge "Fix stack trace logging in RefBase."

* commit 'dfdbb64ff79df937e939f78ff70d5501f17e57d3':
  Fix stack trace logging in RefBase.
This commit is contained in:
Igor Murashkin 2014-04-01 22:55:48 +00:00 committed by Android Git Automerger
commit 9d379a1e02

View file

@ -109,7 +109,7 @@ public:
char inc = refs->ref >= 0 ? '+' : '-'; char inc = refs->ref >= 0 ? '+' : '-';
ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref);
#if DEBUG_REFS_CALLSTACK_ENABLED #if DEBUG_REFS_CALLSTACK_ENABLED
refs->stack.dump(LOG_TAG); refs->stack.log(LOG_TAG);
#endif #endif
refs = refs->next; refs = refs->next;
} }
@ -123,7 +123,7 @@ public:
char inc = refs->ref >= 0 ? '+' : '-'; char inc = refs->ref >= 0 ? '+' : '-';
ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref);
#if DEBUG_REFS_CALLSTACK_ENABLED #if DEBUG_REFS_CALLSTACK_ENABLED
refs->stack.dump(LOG_TAG); refs->stack.log(LOG_TAG);
#endif #endif
refs = refs->next; refs = refs->next;
} }