Merge "Fix stack trace logging in RefBase."

This commit is contained in:
Igor Murashkin 2014-04-01 22:52:03 +00:00 committed by Gerrit Code Review
commit dfdbb64ff7
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}