| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_report.cpp | 71 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-13.1/contrib/llvm-project/lldb/include/lldb/Host/ |
| H A D | ThreadLauncher.h | 31 std::string thread_name; member 37 : thread_name(name ? name : ""), thread_fptr(fptr), thread_arg(arg) {} in HostThreadCreateInfo()
|
| /freebsd-13.1/contrib/jemalloc/src/ |
| H A D | prof.c | 1590 (tdata->thread_name != NULL) ? tdata->thread_name : "")) { in prof_tdata_dump_iter() 2218 tdata->thread_name = thread_name; in prof_tdata_init_impl() 2324 char *thread_name = (tdata->thread_name != NULL) ? in prof_tdata_reinit() local 2790 return (tdata->thread_name != NULL ? tdata->thread_name : ""); in prof_thread_name_get() 2798 if (thread_name == NULL) { in prof_thread_name_alloc() 2802 size = strlen(thread_name) + 1; in prof_thread_name_alloc() 2812 memcpy(ret, thread_name, size); in prof_thread_name_alloc() 2828 if (thread_name == NULL) { in prof_thread_name_set() 2832 char c = thread_name[i]; in prof_thread_name_set() 2846 tdata->thread_name = NULL; in prof_thread_name_set() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | QueueItem.h | 122 void SetThreadLabel(std::string thread_name) { m_thread_label = thread_name; } in SetThreadLabel() argument
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Utility/ |
| H A D | Log.cpp | 302 llvm::SmallString<32> thread_name; in WriteHeader() local 303 llvm::get_thread_name(thread_name); in WriteHeader() 307 format_os << "{0,-" << llvm::alignTo<16>(thread_name.size()) << "} "; in WriteHeader() 308 OS << llvm::formatv(format_str.c_str(), thread_name); in WriteHeader()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/MemoryHistory/asan/ |
| H A D | MemoryHistoryASan.cpp | 102 const char *thread_name, in CreateHistoryThreadFromValueObject() argument 144 thread_name_with_number << thread_name << " Thread " << tid; in CreateHistoryThreadFromValueObject()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | Host.cpp | 112 char thread_name[256]; in StartMonitoringChildProcess() local 113 ::snprintf(thread_name, sizeof(thread_name), in StartMonitoringChildProcess() 116 thread_name, MonitorChildProcessThreadFunction, info_ptr, 0); in StartMonitoringChildProcess()
|
| H A D | HostNativeThreadBase.cpp | 56 llvm::set_thread_name(info->thread_name); in ThreadCreateTrampoline()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Breakpoint/ |
| H A D | BreakpointLocation.cpp | 146 void BreakpointLocation::SetThreadName(const char *thread_name) { in SetThreadName() argument 147 if (thread_name != nullptr) in SetThreadName() 148 GetLocationOptions().GetThreadSpec()->SetName(thread_name); in SetThreadName() 153 m_options_up->GetThreadSpec()->SetName(thread_name); in SetThreadName()
|
| H A D | Breakpoint.cpp | 370 void Breakpoint::SetThreadName(const char *thread_name) { in SetThreadName() argument 372 ::strcmp(m_options.GetThreadSpec()->GetName(), thread_name) == 0) in SetThreadName() 375 m_options.GetThreadSpec()->SetName(thread_name); in SetThreadName()
|
| /freebsd-13.1/contrib/llvm-project/lldb/bindings/interface/ |
| H A D | SBBreakpointLocation.i | 118 SetThreadName (const char *thread_name);
|
| H A D | SBBreakpointName.i | 77 void SetThreadName(const char *thread_name);
|
| H A D | SBBreakpoint.i | 169 SetThreadName (const char *thread_name);
|
| /freebsd-13.1/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | prof_structs.h | 148 char *thread_name; member
|
| H A D | prof_externs.h | 78 int prof_thread_name_set(tsd_t *tsd, const char *thread_name);
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/API/ |
| H A D | SBBreakpointLocation.h | 75 void SetThreadName(const char *thread_name);
|
| H A D | SBBreakpointName.h | 76 void SetThreadName(const char *thread_name);
|
| H A D | SBBreakpoint.h | 87 void SetThreadName(const char *thread_name);
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/API/ |
| H A D | SBBreakpointLocation.cpp | 355 void SBBreakpointLocation::SetThreadName(const char *thread_name) { in SetThreadName() argument 357 thread_name); in SetThreadName() 363 loc_sp->SetThreadName(thread_name); in SetThreadName()
|
| H A D | SBBreakpointName.cpp | 415 void SBBreakpointName::SetThreadName(const char *thread_name) { in SetThreadName() argument 417 thread_name); in SetThreadName() 426 bp_name->GetOptions().GetThreadSpec()->SetName(thread_name); in SetThreadName()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Core/ |
| H A D | Communication.cpp | 202 const std::string thread_name = in StartReadThread() local 208 thread_name, Communication::ReadThread, this); in StartReadThread()
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Breakpoint/ |
| H A D | BreakpointLocation.h | 150 void SetThreadName(const char *thread_name);
|
| /freebsd-13.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-13.1/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationServerLLGS.cpp | 729 const std::string thread_name = thread->GetName(); in GetJSONThreadsInfo() local 730 if (!thread_name.empty()) in GetJSONThreadsInfo() 731 thread_obj.try_emplace("name", thread_name); in GetJSONThreadsInfo() 805 const std::string thread_name = thread->GetName(); in SendStopReplyPacketForThread() local 806 if (!thread_name.empty()) { in SendStopReplyPacketForThread() 807 size_t thread_name_len = thread_name.length(); in SendStopReplyPacketForThread() 809 if (::strcspn(thread_name.c_str(), "$#+-;:") == thread_name_len) { in SendStopReplyPacketForThread() 811 response.PutCString(thread_name); in SendStopReplyPacketForThread() 815 response.PutStringAsRawHex8(thread_name); in SendStopReplyPacketForThread()
|