Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_report.cc72 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 Dprof.c1319 (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 DThreadLauncher.h33 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 DLog.cpp287 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 DCommunication.cpp202 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 DQueueItem.h137 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 DHost.cpp113 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 DHostNativeThreadBase.cpp60 llvm::set_thread_name(info->thread_name); in ThreadCreateTrampoline()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/os/
H A Dcallb.c378 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 DMemoryHistoryASan.cpp106 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 DBreakpointLocation.cpp149 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 DBreakpoint.cpp384 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 DSBBreakpointLocation.h71 void SetThreadName(const char *thread_name);
H A DSBBreakpointName.h75 void SetThreadName(const char *thread_name);
H A DSBBreakpoint.h84 void SetThreadName(const char *thread_name);
/freebsd-12.1/contrib/jemalloc/include/jemalloc/internal/
H A Dprof_structs.h148 char *thread_name; member
H A Dprof_externs.h76 int prof_thread_name_set(tsd_t *tsd, const char *thread_name);
/freebsd-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBBreakpointLocation.cpp285 void SBBreakpointLocation::SetThreadName(const char *thread_name) { in SetThreadName() argument
290 loc_sp->SetThreadName(thread_name); in SetThreadName()
H A DSBBreakpointName.cpp404 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 DSBBreakpoint.cpp354 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 DBreakpointLocation.h183 void SetThreadName(const char *thread_name);
H A DBreakpoint.h437 void SetThreadName(const char *thread_name);
/freebsd-12.1/sys/dev/ocs_fc/
H A Docs_xport.h61 char thread_name[64]; member
H A Docs_xport.c157 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 DGDBRemoteCommunicationServerLLGS.cpp535 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());

12