summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2022-02-10 09:46:31 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-02-10 09:46:31 +0000
commit87717df3d136556d23415b72a98b4346def22d69 (patch)
treebcda2b826ae41fbb323bf7d962dce128af838116
parentd17ebebe81b2a56a03c443d5b0231e548df1c1d1 (diff)
parentcc565dc44e5b0fe527b1bff3d67f174167d20b08 (diff)
downloadnative-87717df3d136556d23415b72a98b4346def22d69.tar.gz
Merge "ProcessState: thread name includes driver"android-t-preview-2android-t-preview-1android-t-beta-3android-t-preview-1
-rw-r--r--libs/binder/ProcessState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp
index 269b0861e1..1821729cfa 100644
--- a/libs/binder/ProcessState.cpp
+++ b/libs/binder/ProcessState.cpp
@@ -368,7 +368,7 @@ String8 ProcessState::makeBinderThreadName() {
int32_t s = android_atomic_add(1, &mThreadPoolSeq);
pid_t pid = getpid();
String8 name;
- name.appendFormat("Binder:%d_%X", pid, s);
+ name.appendFormat("%d_%X:%s", pid, s, mDriverName.c_str());
return name;
}