| /freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_report.cc | 72 const char *thread_name(char *buf, int tid) { in thread_name() function 169 (void *)mop->addr, thread_name(thrbuf, mop->tid)); in PrintMop() 176 (void *)mop->addr, thread_name(thrbuf, mop->tid)); in PrintMop() 205 thread_name(thrbuf, loc->tid)); in PrintLocation() 209 thread_name(thrbuf, loc->tid)); in PrintLocation() 213 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation() 215 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation() 218 loc->fd, thread_name(thrbuf, loc->tid)); in PrintLocation() 268 thread_name(thrbuf, rt->parent_tid)); in PrintThread() 341 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i])); in PrintReport()
|
| /freebsd-12.1/contrib/jemalloc/src/ |
| H A D | prof.c | 1319 (tdata->thread_name != NULL) ? tdata->thread_name : "")) { in prof_tdata_dump_iter() 1920 tdata->thread_name = thread_name; in prof_tdata_init_impl() 2026 char *thread_name = (tdata->thread_name != NULL) ? in prof_tdata_reinit() local 2130 return (tdata->thread_name != NULL ? tdata->thread_name : ""); in prof_thread_name_get() 2138 if (thread_name == NULL) { in prof_thread_name_alloc() 2142 size = strlen(thread_name) + 1; in prof_thread_name_alloc() 2152 memcpy(ret, thread_name, size); in prof_thread_name_alloc() 2168 if (thread_name == NULL) { in prof_thread_name_set() 2172 char c = thread_name[i]; in prof_thread_name_set() 2186 tdata->thread_name = NULL; in prof_thread_name_set() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/ |
| H A D | ThreadLauncher.h | 33 std::string thread_name; member 39 : thread_name(name ? name : ""), thread_fptr(fptr), thread_arg(arg) {} in HostThreadCreateInfo()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/ |
| H A D | Log.cpp | 287 llvm::SmallString<32> thread_name; in WriteHeader() local 288 llvm::get_thread_name(thread_name); in WriteHeader() 292 format_os << "{0,-" << llvm::alignTo<16>(thread_name.size()) << "} "; in WriteHeader() 293 OS << llvm::formatv(format_str.c_str(), thread_name); in WriteHeader()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Core/ |
| H A D | Communication.cpp | 202 char thread_name[1024]; in StartReadThread() local 203 snprintf(thread_name, sizeof(thread_name), "<lldb.comm.%s>", in StartReadThread() 209 thread_name, Communication::ReadThread, this, error_ptr); in StartReadThread()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/ |
| H A D | QueueItem.h | 137 void SetThreadLabel(std::string thread_name) { m_thread_label = thread_name; } in SetThreadLabel() argument
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/ |
| H A D | Host.cpp | 113 char thread_name[256]; in StartMonitoringChildProcess() local 114 ::snprintf(thread_name, sizeof(thread_name), in StartMonitoringChildProcess() 117 thread_name, MonitorChildProcessThreadFunction, info_ptr, NULL); in StartMonitoringChildProcess()
|
| H A D | HostNativeThreadBase.cpp | 60 llvm::set_thread_name(info->thread_name); in ThreadCreateTrampoline()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/os/ |
| H A D | callb.c | 378 callb_is_stopped(kthread_id_t tp, caddr_t *thread_name) in callb_is_stopped() argument 398 *thread_name = cp->c_name; /* in case not stopped */ in callb_is_stopped() 429 *thread_name = sym ? sym : "*unknown*"; in callb_is_stopped()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/MemoryHistory/asan/ |
| H A D | MemoryHistoryASan.cpp | 106 const char *thread_name, in CreateHistoryThreadFromValueObject() argument 144 thread_name_with_number << thread_name << " Thread " << tid; in CreateHistoryThreadFromValueObject()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Breakpoint/ |
| H A D | BreakpointLocation.cpp | 149 void BreakpointLocation::SetThreadName(const char *thread_name) { in SetThreadName() argument 150 if (thread_name != nullptr) in SetThreadName() 151 GetLocationOptions()->GetThreadSpec()->SetName(thread_name); in SetThreadName() 156 m_options_ap->GetThreadSpec()->SetName(thread_name); in SetThreadName()
|
| H A D | Breakpoint.cpp | 384 void Breakpoint::SetThreadName(const char *thread_name) { in SetThreadName() argument 386 ::strcmp(m_options_up->GetThreadSpec()->GetName(), thread_name) == 0) in SetThreadName() 389 m_options_up->GetThreadSpec()->SetName(thread_name); in SetThreadName()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/API/ |
| H A D | SBBreakpointLocation.h | 71 void SetThreadName(const char *thread_name);
|
| H A D | SBBreakpointName.h | 75 void SetThreadName(const char *thread_name);
|
| H A D | SBBreakpoint.h | 84 void SetThreadName(const char *thread_name);
|
| /freebsd-12.1/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | prof_structs.h | 148 char *thread_name; member
|
| H A D | prof_externs.h | 76 int prof_thread_name_set(tsd_t *tsd, const char *thread_name);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/API/ |
| H A D | SBBreakpointLocation.cpp | 285 void SBBreakpointLocation::SetThreadName(const char *thread_name) { in SetThreadName() argument 290 loc_sp->SetThreadName(thread_name); in SetThreadName()
|
| H A D | SBBreakpointName.cpp | 404 void SBBreakpointName::SetThreadName(const char *thread_name) { in SetThreadName() argument 411 LLDB_LOG(log, "Name: {0} thread name: {1}\n", bp_name->GetName(), thread_name); in SetThreadName() 416 bp_name->GetOptions().GetThreadSpec()->SetName(thread_name); in SetThreadName()
|
| H A D | SBBreakpoint.cpp | 354 void SBBreakpoint::SetThreadName(const char *thread_name) { in SetThreadName() argument 357 LLDB_LOG(log, "breakpoint = {0}, name = {1}", bkpt_sp.get(), thread_name); in SetThreadName() 362 bkpt_sp->GetOptions()->GetThreadSpec()->SetName(thread_name); in SetThreadName()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Breakpoint/ |
| H A D | BreakpointLocation.h | 183 void SetThreadName(const char *thread_name);
|
| H A D | Breakpoint.h | 437 void SetThreadName(const char *thread_name);
|
| /freebsd-12.1/sys/dev/ocs_fc/ |
| H A D | ocs_xport.h | 61 char thread_name[64]; member
|
| H A D | ocs_xport.c | 157 ocs_snprintf(xport->rq_thread_info[i].thread_name, in ocs_xport_rq_threads_create() 158 sizeof(xport->rq_thread_info[i].thread_name), in ocs_xport_rq_threads_create() 161 xport->rq_thread_info[i].thread_name, in ocs_xport_rq_threads_create()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationServerLLGS.cpp | 535 const std::string thread_name = thread->GetName(); local 536 if (!thread_name.empty()) 538 std::make_shared<JSONString>(thread_name)); 616 const std::string thread_name = thread->GetName(); local 617 if (!thread_name.empty()) { 618 size_t thread_name_len = thread_name.length(); 620 if (::strcspn(thread_name.c_str(), "$#+-;:") == thread_name_len) { 622 response.PutCString(thread_name); 626 response.PutCStringAsRawHex8(thread_name.c_str());
|