Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc565dc4 authored by Steven Moreland's avatar Steven Moreland
Browse files

ProcessState: thread name includes driver

Disambiguate /dev/binder and /dev/vndbinder thread names.

Bug: email thread
Test: ps -AT (and see important parts in comm)
Change-Id: I898eeb091dba08bb37ffbf8cd9c03f3a21a53c90
parent d12d361a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}