Merge "Fix stack trace logging in RefBase."
This commit is contained in:
commit
dfdbb64ff7
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue