summaryrefslogtreecommitdiffstats
path: root/include/utils
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2013-11-12 10:54:16 -0800
committerChristopher Ferris <cferris@google.com>2014-01-09 15:49:39 -0800
commitbc12d6329ef72147da93881a34aab763905b1039 (patch)
tree96d33d5d58831f271a8b60aae666cb55f71bd660 /include/utils
parentb18f93ea5d57b8dff31c6cc706c6b4f32180c0c8 (diff)
downloadsystem_core-bc12d6329ef72147da93881a34aab763905b1039.zip
system_core-bc12d6329ef72147da93881a34aab763905b1039.tar.gz
system_core-bc12d6329ef72147da93881a34aab763905b1039.tar.bz2
Move BACKTRACE_NO_TID to BACKTRACE_CURRENT_THREAD.
Use a bit better name for this. The other name was a bit confusing. Change-Id: I1261f2ee3854a9c8b82133ad0bfbbbe48b43c9ac (cherry picked from commit 242b1a8c7a5ec73172bac811e51acbc27201f22c) Conflicts: libbacktrace/Backtrace.cpp
Diffstat (limited to 'include/utils')
-rw-r--r--include/utils/CallStack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/utils/CallStack.h b/include/utils/CallStack.h
index 5836037..bfe2ddb 100644
--- a/include/utils/CallStack.h
+++ b/include/utils/CallStack.h
@@ -44,7 +44,7 @@ public:
// Immediately collect the stack traces for the specified thread.
// The default is to dump the stack of the current call.
- void update(int32_t ignoreDepth=1, pid_t tid=BACKTRACE_NO_TID);
+ void update(int32_t ignoreDepth=1, pid_t tid=BACKTRACE_CURRENT_THREAD);
// Dump a stack trace to the log using the supplied logtag.
void log(const char* logtag,