/external/jemalloc/test/unit/ |
D | prof_thread_name.c | 25 mallctl_thread_name_set_impl(const char *thread_name, const char *func, in mallctl_thread_name_set_impl() argument 29 assert_d_eq(mallctl("thread.prof.name", NULL, NULL, &thread_name, in mallctl_thread_name_set_impl() 30 sizeof(thread_name)), 0, in mallctl_thread_name_set_impl() 33 mallctl_thread_name_get_impl(thread_name, func, line); in mallctl_thread_name_set_impl() 40 const char *thread_name; in TEST_BEGIN() local 48 thread_name = NULL; in TEST_BEGIN() 49 assert_d_eq(mallctl("thread.prof.name", NULL, NULL, &thread_name, in TEST_BEGIN() 50 sizeof(thread_name)), EFAULT, in TEST_BEGIN() 52 thread_name); in TEST_BEGIN() 55 thread_name = "hi\nthere"; in TEST_BEGIN() [all …]
|
/external/valgrind/drd/tests/ |
D | thread_name.c | 23 char thread_name[32]; in thread_func() local 25 snprintf(thread_name, sizeof(thread_name), in thread_func() 27 ANNOTATE_THREAD_NAME(thread_name); in thread_func() 36 fprintf(stderr, "\n%s\n\n", thread_name); in thread_func()
|
D | thread_name.vgtest | 1 prereq: test -e thread_name && ./supported_libpthread 3 prog: thread_name
|
D | thread_name_xml.vgtest | 1 prereq: test -e thread_name && ./supported_libpthread 3 prog: thread_name
|
/external/lldb/source/Host/freebsd/ |
D | Host.cpp | 51 FreeBSDThread(const char *thread_name) in FreeBSDThread() argument 53 Host::SetThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name); in FreeBSDThread() 71 Host::ThreadCreated (const char *thread_name) in ThreadCreated() argument 76 ::pthread_setspecific (g_thread_create_key, new FreeBSDThread(thread_name)); in ThreadCreated() 79 Host::SetShortThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name, 16); in ThreadCreated() 85 std::string thread_name; in GetThreadName() local 86 return thread_name; in GetThreadName()
|
/external/jemalloc/src/ |
D | prof.c | 130 static char *prof_thread_name_alloc(tsd_t *tsd, const char *thread_name); 1254 (tdata->thread_name != NULL) ? " " : "", in prof_tdata_dump_iter() 1255 (tdata->thread_name != NULL) ? tdata->thread_name : "")) in prof_tdata_dump_iter() 1688 char *thread_name, bool active) in prof_tdata_init_impl() argument 1705 tdata->thread_name = thread_name; in prof_tdata_init_impl() 1766 if (tdata->thread_name != NULL) in prof_tdata_destroy_locked() 1767 idalloctm(tsd, tdata->thread_name, tcache, true); in prof_tdata_destroy_locked() 1808 char *thread_name = (tdata->thread_name != NULL) ? in prof_tdata_reinit() local 1809 prof_thread_name_alloc(tsd, tdata->thread_name) : NULL; in prof_tdata_reinit() 1813 return (prof_tdata_init_impl(tsd, thr_uid, thr_discrim, thread_name, in prof_tdata_reinit() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_report.cc | 77 const char *thread_name(char *buf, int tid) { in thread_name() function 153 thread_name(thrbuf, mop->tid)); in PrintMop() 174 thread_name(thrbuf, loc->tid)); in PrintLocation() 177 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation() 179 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation() 182 loc->fd, thread_name(thrbuf, loc->tid)); in PrintLocation() 226 thread_name(thrbuf, rt->parent_tid)); in PrintThread() 294 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i])); in PrintReport()
|
/external/lldb/source/Host/common/ |
D | Host.cpp | 98 char thread_name[256]; in StartMonitoringChildProcess() local 99 ::snprintf (thread_name, sizeof(thread_name), "<lldb.host.wait4(pid=%" PRIu64 ")>", pid); in StartMonitoringChildProcess() 100 thread = ThreadCreate (thread_name, in StartMonitoringChildProcess() 532 Host::ThreadCreated (const char *thread_name) in ThreadCreated() argument 553 std::string thread_name; member 558 thread_name (name ? name : ""), in HostThreadCreateInfo() 569 Host::ThreadCreated (info->thread_name.c_str()); in ThreadCreateTrampoline() 584 const char *thread_name, in ThreadCreate() argument 593 … HostThreadCreateInfo *info_ptr = new HostThreadCreateInfo (thread_name, thread_fptr, thread_arg); in ThreadCreate() 700 const char *thread_name, size_t len) in SetShortThreadName() argument [all …]
|
/external/linux-tools-perf/src/tools/perf/scripts/python/ |
D | sched-migration.py | 31 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/Host/linux/ |
D | Host.cpp | 443 Host::ThreadCreated (const char *thread_name) in ThreadCreated() argument 445 if (!Host::SetThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name)) in ThreadCreated() 447 Host::SetShortThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name, 16); in ThreadCreated() 463 std::string thread_name(comm_str, length); in GetThreadName() local 464 return thread_name; in GetThreadName()
|
/external/lldb/source/Core/ |
D | Communication.cpp | 242 char thread_name[1024]; in StartReadThread() local 243 snprintf(thread_name, sizeof(thread_name), "<lldb.comm.%s>", m_broadcaster_name.AsCString()); in StartReadThread() 246 m_read_thread = Host::ThreadCreate (thread_name, Communication::ReadThread, this, error_ptr); in StartReadThread()
|
D | Log.cpp | 115 std::string thread_name (Host::GetThreadName (getpid(), Host::GetCurrentThreadID())); in PrintfWithFlagsVarArg() local 116 if (!thread_name.empty()) in PrintfWithFlagsVarArg() 117 header.Printf ("%s ", thread_name.c_str()); in PrintfWithFlagsVarArg()
|
/external/google-breakpad/src/client/mac/handler/ |
D | exception_handler.h | 99 mach_port_t thread_name); 193 mach_port_t thread_name,
|
D | minidump_generator.h | 101 mach_port_t thread_name) { in SetExceptionInformation() argument 105 exception_thread_ = thread_name; in SetExceptionInformation()
|
D | exception_handler.cc | 354 mach_port_t thread_name, in WriteMinidumpWithException() argument 364 thread_name) ) { in WriteMinidumpWithException() 379 thread_name); in WriteMinidumpWithException() 402 exception_subcode, thread_name); in WriteMinidumpWithException()
|
/external/chromium-trace/trace-viewer/tracing/test_data/ |
D | simple_trace_gz.gz |
|
/external/lldb/source/Breakpoint/ |
D | BreakpointLocation.cpp | 155 BreakpointLocation::SetThreadName (const char *thread_name) in SetThreadName() argument 157 if (thread_name != NULL) in SetThreadName() 158 GetLocationOptions()->GetThreadSpec()->SetName(thread_name); in SetThreadName() 164 m_options_ap->GetThreadSpec()->SetName(thread_name); in SetThreadName()
|
D | Breakpoint.cpp | 243 Breakpoint::SetThreadName (const char *thread_name) in SetThreadName() argument 246 && ::strcmp (m_options.GetThreadSpec()->GetName(), thread_name) == 0) in SetThreadName() 249 m_options.GetThreadSpec()->SetName (thread_name); in SetThreadName()
|
/external/lldb/source/API/ |
D | SBBreakpointLocation.cpp | 208 SBBreakpointLocation::SetThreadName (const char *thread_name) in SetThreadName() argument 213 m_opaque_sp->SetThreadName (thread_name); in SetThreadName()
|
D | SBBreakpoint.cpp | 417 SBBreakpoint::SetThreadName (const char *thread_name) in SetThreadName() argument 421 log->Printf ("SBBreakpoint(%p)::SetThreadName (%s)", m_opaque_sp.get(), thread_name); in SetThreadName() 426 m_opaque_sp->GetOptions()->GetThreadSpec()->SetName (thread_name); in SetThreadName()
|
/external/lldb/scripts/Python/interface/ |
D | SBBreakpointLocation.i | 86 SetThreadName (const char *thread_name);
|
D | SBBreakpoint.i | 169 SetThreadName (const char *thread_name);
|
/external/lldb/include/lldb/API/ |
D | SBBreakpointLocation.h | 74 SetThreadName (const char *thread_name);
|
/external/jemalloc/include/jemalloc/internal/ |
D | prof.h | 188 char *thread_name; member 308 int prof_thread_name_set(tsd_t *tsd, const char *thread_name);
|
/external/lldb/include/lldb/Breakpoint/ |
D | BreakpointLocation.h | 205 SetThreadName (const char *thread_name);
|