Searched defs:thread_name (Results 1 - 20 of 20) sorted by relevance

/external/valgrind/drd/tests/
H A Dthread_name.c23 char thread_name[32]; local
25 snprintf(thread_name, sizeof(thread_name),
27 ANNOTATE_THREAD_NAME(thread_name);
36 fprintf(stderr, "\n%s\n\n", thread_name);
/external/jemalloc/test/unit/
H A Dprof_thread_name.c25 mallctl_thread_name_set_impl(const char *thread_name, const char *func, argument
29 assert_d_eq(mallctl("thread.prof.name", NULL, NULL, &thread_name,
30 sizeof(thread_name)), 0,
33 mallctl_thread_name_get_impl(thread_name, func, line);
40 const char *thread_name; local
48 thread_name = NULL;
49 assert_d_eq(mallctl("thread.prof.name", NULL, NULL, &thread_name,
50 sizeof(thread_name)), EFAULT,
52 thread_name);
55 thread_name
83 char thread_name[16] = ""; local
[all...]
/external/google-breakpad/src/client/mac/handler/
H A Dminidump_generator.h101 mach_port_t thread_name) {
105 exception_thread_ = thread_name;
100 SetExceptionInformation(int type, int code, int subcode, mach_port_t thread_name) argument
H A Dexception_handler.cc354 mach_port_t thread_name,
364 thread_name) ) {
379 thread_name);
402 exception_subcode, thread_name);
349 WriteMinidumpWithException( int exception_type, int exception_code, int exception_subcode, breakpad_ucontext_t* task_context, mach_port_t thread_name, bool exit_after_write, bool report_current_thread) argument
/external/linux-tools-perf/src/tools/perf/scripts/python/
H A Dsched-migration.py31 def thread_name(pid): function
51 return "%s gone to sleep" % thread_name(self.sleeper)
62 return "%s woke up" % thread_name(self.wakee)
73 return "new forked task %s" % thread_name(self.child)
84 return "task migrated in %s" % thread_name(self.new)
95 return "task migrated out %s" % thread_name(self.old)
276 raw += "%s \n" % thread_name(t)
/external/lldb/source/API/
H A DSBBreakpointLocation.cpp208 SBBreakpointLocation::SetThreadName (const char *thread_name) argument
213 m_opaque_sp->SetThreadName (thread_name);
H A DSBBreakpoint.cpp417 SBBreakpoint::SetThreadName (const char *thread_name) argument
421 log->Printf ("SBBreakpoint(%p)::SetThreadName (%s)", m_opaque_sp.get(), thread_name);
426 m_opaque_sp->GetOptions()->GetThreadSpec()->SetName (thread_name);
/external/lldb/source/Core/
H A DCommunication.cpp242 char thread_name[1024]; local
243 snprintf(thread_name, sizeof(thread_name), "<lldb.comm.%s>", m_broadcaster_name.AsCString());
246 m_read_thread = Host::ThreadCreate (thread_name, Communication::ReadThread, this, error_ptr);
/external/lldb/source/Host/freebsd/
H A DHost.cpp51 FreeBSDThread(const char *thread_name) argument
53 Host::SetThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name);
71 Host::ThreadCreated (const char *thread_name) argument
76 ::pthread_setspecific (g_thread_create_key, new FreeBSDThread(thread_name));
79 Host::SetShortThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name, 16);
85 std::string thread_name; local
86 return thread_name;
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_report.cc77 const char *thread_name(char *buf, int tid) { function in namespace:__tsan
153 thread_name(thrbuf, mop->tid));
174 thread_name(thrbuf, loc->tid));
177 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid));
179 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid));
182 loc->fd, thread_name(thrbuf, loc->tid));
226 thread_name(thrbuf, rt->parent_tid));
294 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i]));
/external/lldb/source/Breakpoint/
H A DBreakpointLocation.cpp155 BreakpointLocation::SetThreadName (const char *thread_name) argument
157 if (thread_name != NULL)
158 GetLocationOptions()->GetThreadSpec()->SetName(thread_name);
164 m_options_ap->GetThreadSpec()->SetName(thread_name);
H A DBreakpoint.cpp243 Breakpoint::SetThreadName (const char *thread_name) argument
246 && ::strcmp (m_options.GetThreadSpec()->GetName(), thread_name) == 0)
249 m_options.GetThreadSpec()->SetName (thread_name);
/external/jemalloc/include/jemalloc/internal/
H A Dprof.h188 char *thread_name; member in struct:prof_tdata_s
308 int prof_thread_name_set(tsd_t *tsd, const char *thread_name);
/external/lldb/source/Host/linux/
H A DHost.cpp443 Host::ThreadCreated (const char *thread_name) argument
445 if (!Host::SetThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name))
447 Host::SetShortThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name, 16);
463 std::string thread_name(comm_str, length);
464 return thread_name;
/external/valgrind/coregrind/
H A Dpub_core_threadstate.h353 HChar *thread_name; member in struct:__anon16234
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachTask.cpp401 const char *thread_name = threads_name[i].c_str(); local
404 const uint8_t *ubuf8 = (const uint8_t *)(thread_name);
/external/jemalloc/src/
H A Dprof.c130 static char *prof_thread_name_alloc(tsd_t *tsd, const char *thread_name);
1254 (tdata->thread_name != NULL) ? " " : "",
1255 (tdata->thread_name != NULL) ? tdata->thread_name : ""))
1688 char *thread_name, bool active)
1705 tdata->thread_name = thread_name;
1766 if (tdata->thread_name != NULL)
1767 idalloctm(tsd, tdata->thread_name, tcache, true);
1808 char *thread_name local
1687 prof_tdata_init_impl(tsd_t *tsd, uint64_t thr_uid, uint64_t thr_discrim, char *thread_name, bool active) argument
1918 prof_thread_name_alloc(tsd_t *tsd, const char *thread_name) argument
1938 prof_thread_name_set(tsd_t *tsd, const char *thread_name) argument
[all...]
/external/lldb/source/Host/common/
H A DHost.cpp98 char thread_name[256]; local
99 ::snprintf (thread_name, sizeof(thread_name), "<lldb.host.wait4(pid=%" PRIu64 ")>", pid);
100 thread = ThreadCreate (thread_name,
532 Host::ThreadCreated (const char *thread_name) argument
553 std::string thread_name; member in struct:HostThreadCreateInfo
558 thread_name (name ? name : ""),
569 Host::ThreadCreated (info->thread_name.c_str());
584 const char *thread_name,
593 HostThreadCreateInfo *info_ptr = new HostThreadCreateInfo (thread_name, thread_fpt
582 ThreadCreate( const char *thread_name, thread_func_t thread_fptr, thread_arg_t thread_arg, Error *error ) argument
699 SetShortThreadName(lldb::pid_t pid, lldb::tid_t tid, const char *thread_name, size_t len) argument
[all...]
/external/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp1448 std::string thread_name; local
1525 thread_name.swap (value);
1529 thread_name.swap (value);
1545 desc_extractor.GetHexByteString (thread_name);
1581 gdb_thread->SetName (thread_name.empty() ? NULL : thread_name.c_str());
/external/lldb/tools/debugserver/source/
H A DRNBRemote.cpp2451 const char *thread_name = DNBThreadGetName (pid, tid); local
2452 if (thread_name && thread_name[0])
2454 size_t thread_name_len = strlen(thread_name);
2456 if (::strcspn (thread_name, "$#+-;:") == thread_name_len)
2457 ostrm << std::hex << "name:" << thread_name << ';'; local
2462 uint8_t *u_thread_name = (uint8_t *)thread_name;

Completed in 549 milliseconds