svn commit: r363971 - projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD
Dimitry Andric
dim at FreeBSD.org
Thu Aug 6 16:44:25 UTC 2020
Author: dim
Date: Thu Aug 6 16:44:24 2020
New Revision: 363971
URL: https://svnweb.freebsd.org/changeset/base/363971
Log:
Reapply r351662 (by emaste):
lldb: shorten thread names to make logs easier to follow
lldb prepends the thread name to log entries, and the existing thread
name for the FreeBSD ProcessMonitor thread was longer than the kernel's
supported thread name length, and so was truncated. This made logs hard
to read, as the truncated thread name ran into the log message. Shorten
"lldb.process.freebsd.operation" to just "freebsd.op" so that logs are
more readable.
(Upstreaming to lldb still to be done).
Modified:
projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp
Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp
==============================================================================
--- projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp Thu Aug 6 16:42:48 2020 (r363970)
+++ projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp Thu Aug 6 16:44:24 2020 (r363971)
@@ -786,7 +786,7 @@ ProcessMonitor::~ProcessMonitor() { StopMonitor(); }
// Thread setup and tear down.
void ProcessMonitor::StartLaunchOpThread(LaunchArgs *args, Status &error) {
- static const char *g_thread_name = "lldb.process.freebsd.operation";
+ static const char *g_thread_name = "freebsd.op";
if (m_operation_thread && m_operation_thread->IsJoinable())
return;
@@ -956,7 +956,7 @@ FINISH:
void ProcessMonitor::StartAttachOpThread(AttachArgs *args,
lldb_private::Status &error) {
- static const char *g_thread_name = "lldb.process.freebsd.operation";
+ static const char *g_thread_name = "freebsd.op";
if (m_operation_thread && m_operation_thread->IsJoinable())
return;
More information about the svn-src-projects
mailing list