From nobody Wed Dec 22 10:05:40 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 08DA21905403; Wed, 22 Dec 2021 10:05:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JJpqW3Mg8z4YK2; Wed, 22 Dec 2021 10:05:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 100A71B2C8; Wed, 22 Dec 2021 10:05:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BMA5eVD091676; Wed, 22 Dec 2021 10:05:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BMA5eBt091675; Wed, 22 Dec 2021 10:05:40 GMT (envelope-from git) Date: Wed, 22 Dec 2021 10:05:40 GMT Message-Id: <202112221005.1BMA5eBt091675@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 63eb84b906d8 - stable/12 - Reapply r351662 (by emaste): List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 63eb84b906d8d8fb13cfa71a113a0c8bc6248b4b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640167544; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QWUqqHfC/885px2y5pf1SvNcWjSLmZV34lABDP+vDVw=; b=m3laaKbS6491pzs5WGns7nAfjT+cHOz9LML9/d6gp3MYKheQZGC/zC9C+WHgMQdGHgbTwF mOMsrNZpsnSrt+6EZxCjV8EoGwECZVhoIB++FOipYhwfzSI2e/pfJaandsbQPcIEpgqA7J vjOnAVYVFMDwJastPDr4QWS24Qy41d5vqfbnJCtDFIeCaXToAS5ozwe7X/I2TvL1AD1Fot EaGAZNC4H+Up3tXHYFlxpQQgvwZGMeOXCGdIV8YI6c8+fWz1A6zf/xnoVB90lTdxM4PPVS JIoWX1EbEJb3n72KxURt4O9uZFThqk16mTTfliHhPezcq8SczQIEHw1YnBoWRQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640167544; a=rsa-sha256; cv=none; b=jcIBcAjbQwWoTqfvdrIshiK59qxVdhpXxByVSKj0aZextRPbrg+hBVEkkrj0Y3Xc5wIiwK dAcVmAaZWJ3IudnxemJsz8WN0aJZkACkLoi0YFsJ8g2p/d/M5E8v5IUpG9chHISLDpbRau 67Kj70rREFbKRzeMentOwihJ2cWR3Ec9+ufuiDD80DIASbJUMtfIBPEMxY5RdQ/LfnLJoZ EUZ1u5h7n8i1ZTGu/38f4Yq79yFH2ZyBScDF2kv/ow1nto+pDiOMpcR/F+a1rCxK70E9hC CPiFk9fQxtO1jlVe0o1Gy/LX+s/zf2u3mff77SBNTAHcn0UnIfNLt0EU7icvxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=63eb84b906d8d8fb13cfa71a113a0c8bc6248b4b commit 63eb84b906d8d8fb13cfa71a113a0c8bc6248b4b Author: Dimitry Andric AuthorDate: 2020-08-06 16:44:24 +0000 Commit: Dimitry Andric CommitDate: 2021-12-22 09:58:19 +0000 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). (cherry picked from commit 45e1ec9e241a5d4d5726d16d4c5fd434c4908c0e) --- .../lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp b/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp index 6a9209d1214c..050cab730d67 100644 --- a/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp +++ b/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp @@ -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;