Home
last modified time | relevance | path

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

12

/src/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()
/src/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()
/src/contrib/jemalloc/include/jemalloc/internal/ !
H A Dprof_data.h21 char *prof_thread_name_alloc(tsd_t *tsd, const char *thread_name);
22 int prof_thread_name_set_impl(tsd_t *tsd, const char *thread_name);
27 uint64_t thr_discrim, char *thread_name, bool active);
H A Dprof_structs.h160 char *thread_name; member
H A Dprof_externs.h75 int prof_thread_name_set(tsd_t *tsd, const char *thread_name);
/src/contrib/jemalloc/src/ !
H A Dprof_data.c445 prof_thread_name_alloc(tsd_t *tsd, const char *thread_name) { in prof_thread_name_alloc() argument
449 if (thread_name == NULL) { in prof_thread_name_alloc()
453 size = strlen(thread_name) + 1; in prof_thread_name_alloc()
463 memcpy(ret, thread_name, size); in prof_thread_name_alloc()
468 prof_thread_name_set_impl(tsd_t *tsd, const char *thread_name) { in prof_thread_name_set_impl() argument
481 if (thread_name == NULL) { in prof_thread_name_set_impl()
484 for (i = 0; thread_name[i] != '\0'; i++) { in prof_thread_name_set_impl()
485 char c = thread_name[i]; in prof_thread_name_set_impl()
491 s = prof_thread_name_alloc(tsd, thread_name); in prof_thread_name_set_impl()
496 if (tdata->thread_name != NULL) { in prof_thread_name_set_impl()
[all …]
H A Dprof.c391 char *thread_name = (tdata->thread_name != NULL) ? in prof_tdata_reinit() local
392 prof_thread_name_alloc(tsd, tdata->thread_name) : NULL; in prof_tdata_reinit()
396 return prof_tdata_init_impl(tsd, thr_uid, thr_discrim, thread_name, in prof_tdata_reinit()
448 return (tdata->thread_name != NULL ? tdata->thread_name : ""); in prof_thread_name_get()
452 prof_thread_name_set(tsd_t *tsd, const char *thread_name) { in prof_thread_name_set() argument
456 return prof_thread_name_set_impl(tsd, thread_name); in prof_thread_name_set()
H A Dprof_recent.c498 if (alloc_tdata->thread_name != NULL) { in prof_recent_alloc_dump_node()
500 emitter_type_string, &alloc_tdata->thread_name); in prof_recent_alloc_dump_node()
514 if (dalloc_tdata->thread_name != NULL) { in prof_recent_alloc_dump_node()
516 emitter_type_string, &dalloc_tdata->thread_name); in prof_recent_alloc_dump_node()
/src/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSDKernel/ !
H A DProcessFreeBSDKernel.cpp218 char thread_name[fbsd_maxcomlen + 1]; in DoUpdateThreadList() local
219 ReadCStringFromMemory(td + offset_td_name, thread_name, in DoUpdateThreadList()
220 sizeof(thread_name), error); in DoUpdateThreadList()
227 if (*thread_name && strcmp(thread_name, comm)) { in DoUpdateThreadList()
229 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);
/src/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
/src/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()
/src/contrib/llvm-project/lldb/source/Host/common/ !
H A DHost.cpp135 char thread_name[256]; in StartMonitoringChildProcess() local
136 ::snprintf(thread_name, sizeof(thread_name), in StartMonitoringChildProcess()
139 return ThreadLauncher::LaunchThread(thread_name, [pid, callback] { in StartMonitoringChildProcess()
H A DHostNativeThreadBase.cpp57 llvm::set_thread_name(info_up->thread_name); in ThreadCreateTrampoline()
/src/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()
/src/contrib/llvm-project/lldb/source/Utility/ !
H A DLog.cpp340 llvm::SmallString<32> thread_name; in WriteHeader() local
341 llvm::get_thread_name(thread_name); in WriteHeader()
345 format_os << "{0,-" << llvm::alignTo<16>(thread_name.size()) << "} "; in WriteHeader()
346 OS << llvm::formatv(format_str.c_str(), thread_name); in WriteHeader()
/src/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()
/src/contrib/llvm-project/lldb/source/Breakpoint/ !
H A DBreakpointLocation.cpp138 void BreakpointLocation::SetThreadName(const char *thread_name) { in SetThreadName() argument
139 if (thread_name != nullptr) in SetThreadName()
140 GetLocationOptions().GetThreadSpec()->SetName(thread_name); in SetThreadName()
145 m_options_up->GetThreadSpec()->SetName(thread_name); in SetThreadName()
/src/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()
/src/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);
/src/contrib/llvm-project/lldb/include/lldb/Breakpoint/ !
H A DBreakpointLocation.h153 void SetThreadName(const char *thread_name);
/src/sys/dev/ocs_fc/ !
H A Docs_xport.h59 char thread_name[64]; member

12