Searched refs:thread_name (Results 1 – 10 of 10) sorted by relevance
/art/runtime/ |
D | monitor_android.cc | 72 std::string thread_name; in LogContentionEvent() local 73 self->GetThreadName(thread_name); in LogContentionEvent() 74 cp = EventLogWriteString(cp, thread_name.c_str(), thread_name.size()); in LogContentionEvent()
|
D | instrumentation.cc | 157 std::string thread_name; in InstrumentationInstallStack() local 158 thread->GetThreadName(thread_name); in InstrumentationInstallStack() 159 LOG(INFO) << "Installing exit stubs in " << thread_name; in InstrumentationInstallStack() 244 std::string thread_name; in InstrumentationRestoreStack() local 245 thread->GetThreadName(thread_name); in InstrumentationRestoreStack() 246 LOG(INFO) << "Removing exit stubs in " << thread_name; in InstrumentationRestoreStack()
|
D | runtime_linux.cc | 251 std::string thread_name(GetThreadName(tid)); in HandleUnexpectedSignal() local 263 << "Thread: " << tid << " \"" << thread_name << "\"\n" in HandleUnexpectedSignal() 269 … << "* Process " << getpid() << " thread " << tid << " \"" << thread_name << "\"" in HandleUnexpectedSignal()
|
D | utils.cc | 922 void SetThreadName(const char* thread_name) { in SetThreadName() argument 925 const char* s = thread_name; in SetThreadName() 934 int len = s - thread_name; in SetThreadName() 936 s = thread_name; in SetThreadName() 938 s = thread_name + len - 15; in SetThreadName() 950 pthread_setname_np(thread_name); in SetThreadName() 954 UNIMPLEMENTED(WARNING) << thread_name; in SetThreadName()
|
D | thread.cc | 163 SirtRef<mirror::String> thread_name(self, self->GetThreadName(soa)); in CreateCallback() local 164 self->SetThreadName(thread_name->ToModifiedUtf8().c_str()); in CreateCallback() 315 Thread* Thread::Attach(const char* thread_name, bool as_daemon, jobject thread_group, in Attach() argument 320 LOG(ERROR) << "Thread attaching to non-existent runtime: " << thread_name; in Attach() 326 LOG(ERROR) << "Thread attaching while runtime is shutting down: " << thread_name; in Attach() 344 self->CreatePeer(thread_name, as_daemon, thread_group); in Attach() 347 if (thread_name != NULL) { in Attach() 348 self->name_->assign(thread_name); in Attach() 349 ::art::SetThreadName(thread_name); in Attach() 364 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF(name)); in CreatePeer() local [all …]
|
D | utils.h | 336 void SetThreadName(const char* thread_name);
|
D | runtime.h | 247 bool AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group,
|
D | runtime.cc | 1118 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, in AttachCurrentThread() argument 1120 bool success = Thread::Attach(thread_name, as_daemon, thread_group, create_peer) != NULL; in AttachCurrentThread() 1121 if (thread_name == NULL) { in AttachCurrentThread()
|
D | thread.h | 101 static Thread* Attach(const char* thread_name, bool as_daemon, jobject thread_group,
|
D | jni_internal.cc | 423 const char* thread_name = NULL; in JII_AttachCurrentThread() local 432 thread_name = args->name; in JII_AttachCurrentThread() 436 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group, !runtime->IsCompiler())) { in JII_AttachCurrentThread()
|