Home
last modified time | relevance | path

Searched refs:thread_name (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DThreadLauncher.h31 std::string thread_name; member
34 HostThreadCreateInfo(std::string thread_name, in HostThreadCreateInfo()
36 : thread_name(std::move(thread_name)), impl(std::move(impl)) {} in HostThreadCreateInfo()
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_report.cpp55 const char *thread_name(char *buf, Tid tid) { in thread_name() function
149 (void *)mop->addr, thread_name(thrbuf, mop->tid)); in PrintMop()
156 (void *)mop->addr, thread_name(thrbuf, mop->tid)); in PrintMop()
186 thread_name(thrbuf, loc->tid)); in PrintLocation()
191 thread_name(thrbuf, loc->tid)); in PrintLocation()
195 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation()
197 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation()
201 thread_name(thrbuf, loc->tid)); in PrintLocation()
248 thread_name(thrbuf, rt->parent_tid)); in PrintThread()
309 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i])); in PrintReport()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSDKernel/
H A DProcessFreeBSDKernel.cpp217 char thread_name[fbsd_maxcomlen + 1]; in DoUpdateThreadList() local
218 ReadCStringFromMemory(td + offset_td_name, thread_name, in DoUpdateThreadList()
219 sizeof(thread_name), error); in DoUpdateThreadList()
226 if (*thread_name && strcmp(thread_name, comm)) { in DoUpdateThreadList()
228 thread_desc += thread_name; in DoUpdateThreadList()
H A DThreadFreeBSDKernel.cpp28 std::string thread_name) in ThreadFreeBSDKernel() argument
29 : Thread(process, tid), m_thread_name(std::move(thread_name)), in ThreadFreeBSDKernel()
H A DThreadFreeBSDKernel.h17 lldb::addr_t pcb_addr, std::string thread_name);
/freebsd/contrib/jemalloc/src/
H A Dprof.c1590 (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/contrib/llvm-project/lldb/include/lldb/Target/
H A DQueueItem.h122 void SetThreadLabel(std::string thread_name) { m_thread_label = thread_name; } in SetThreadLabel() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/MemoryHistory/asan/
H A DMemoryHistoryASan.cpp95 const char *thread_name, in CreateHistoryThreadFromValueObject() argument
137 thread_name_with_number << thread_name << " Thread " << tid; in CreateHistoryThreadFromValueObject()
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DHost.cpp102 char thread_name[256]; in StartMonitoringChildProcess() local
103 ::snprintf(thread_name, sizeof(thread_name), in StartMonitoringChildProcess()
106 return ThreadLauncher::LaunchThread(thread_name, [pid, callback] { in StartMonitoringChildProcess()
H A DHostNativeThreadBase.cpp57 llvm::set_thread_name(info_up->thread_name); in ThreadCreateTrampoline()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/scripted/
H A DScriptedThread.cpp93 std::optional<std::string> thread_name = GetInterface()->GetName(); in GetName() local
94 if (!thread_name) in GetName()
96 return ConstString(thread_name->c_str()).AsCString(); in GetName()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DLog.cpp339 llvm::SmallString<32> thread_name; in WriteHeader() local
340 llvm::get_thread_name(thread_name); in WriteHeader()
344 format_os << "{0,-" << llvm::alignTo<16>(thread_name.size()) << "} "; in WriteHeader()
345 OS << llvm::formatv(format_str.c_str(), thread_name); in WriteHeader()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBBreakpointLocation.cpp353 void SBBreakpointLocation::SetThreadName(const char *thread_name) { in SetThreadName() argument
354 LLDB_INSTRUMENT_VA(this, thread_name); in SetThreadName()
360 loc_sp->SetThreadName(thread_name); in SetThreadName()
H A DSBBreakpointName.cpp404 void SBBreakpointName::SetThreadName(const char *thread_name) { in SetThreadName() argument
405 LLDB_INSTRUMENT_VA(this, thread_name); in SetThreadName()
414 bp_name->GetOptions().GetThreadSpec()->SetName(thread_name); in SetThreadName()
H A DSBBreakpoint.cpp398 void SBBreakpoint::SetThreadName(const char *thread_name) { in SetThreadName() argument
399 LLDB_INSTRUMENT_VA(this, thread_name); in SetThreadName()
406 bkpt_sp->GetOptions().GetThreadSpec()->SetName(thread_name); in SetThreadName()
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointLocation.cpp146 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()
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dprof_structs.h148 char *thread_name; member
H A Dprof_externs.h78 int prof_thread_name_set(tsd_t *tsd, const char *thread_name);
/freebsd/contrib/llvm-project/lldb/include/lldb/API/
H A DSBBreakpointName.h76 void SetThreadName(const char *thread_name);
H A DSBBreakpointLocation.h88 void SetThreadName(const char *thread_name);
H A DSBBreakpoint.h92 void SetThreadName(const char *thread_name);
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DThreadedCommunication.cpp170 const std::string thread_name = in StartReadThread() local
176 thread_name, [this] { return ReadThread(); }); in StartReadThread()
/freebsd/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DBreakpointLocation.h153 void SetThreadName(const char *thread_name);
/freebsd/sys/dev/ocs_fc/
H A Docs_xport.h59 char thread_name[64]; member
H A Docs_xport.c155 ocs_snprintf(xport->rq_thread_info[i].thread_name, in ocs_xport_rq_threads_create()
156 sizeof(xport->rq_thread_info[i].thread_name), in ocs_xport_rq_threads_create()
159 xport->rq_thread_info[i].thread_name, in ocs_xport_rq_threads_create()

12