summaryrefslogtreecommitdiffstats
path: root/libutils/RefBase.cpp
diff options
context:
space:
mode:
authorIan McKellar <ianloic@google.com>2014-03-31 15:59:31 -0700
committerIan Mckellar <ianloic@google.com>2014-04-01 15:02:57 -0700
commit55e0f1c8bdb5d7299ba0c79e084b7ac749eb4c3b (patch)
tree985adfc219f738ebfc66f7204896b36fc613a34f /libutils/RefBase.cpp
parente7f3cce7aa1e51f904f80df02d8d0fe5fe85e14e (diff)
downloadsystem_core-55e0f1c8bdb5d7299ba0c79e084b7ac749eb4c3b.zip
system_core-55e0f1c8bdb5d7299ba0c79e084b7ac749eb4c3b.tar.gz
system_core-55e0f1c8bdb5d7299ba0c79e084b7ac749eb4c3b.tar.bz2
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
Diffstat (limited to 'libutils/RefBase.cpp')
-rw-r--r--libutils/RefBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libutils/RefBase.cpp b/libutils/RefBase.cpp
index f398a82..385c226 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;
}