summaryrefslogtreecommitdiffstats
path: root/include/backtrace
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/backtrace
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/backtrace')
-rw-r--r--include/backtrace/backtrace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/backtrace/backtrace.h b/include/backtrace/backtrace.h
index 186d327..fa81f21 100644
--- a/include/backtrace/backtrace.h
+++ b/include/backtrace/backtrace.h
@@ -28,8 +28,8 @@ __BEGIN_DECLS
// thread from the current process will be traced.
#define BACKTRACE_CURRENT_PROCESS -1
// When the tid to be traced is set to this value, then trace the specified
-// pid.
-#define BACKTRACE_NO_TID -1
+// current thread of the specified pid.
+#define BACKTRACE_CURRENT_THREAD -1
#define MAX_BACKTRACE_FRAMES 64