From nobody Wed May 06 15:40:32 2026 X-Original-To: bugs@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 4g9fjH3Vvjz6cnDQ for ; Wed, 06 May 2026 15:40:35 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g9fjH2vDxz3Thv for ; Wed, 06 May 2026 15:40:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778082035; 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=iimaeWtqo7Luq83hlhvUncItJxB6gizxv1MxDMXQkDg=; b=IcVMGgi1kFvxaHSKY2qN43gtUXp0jNMWQaqRPGknHoPxfBNHT5lPYVOmV9DO78iJiJSzBI 6Je5McqMFMEGJPSFVEupG9937E+ZFLVwZ8If/004XBMprTd7JmLmNeGMWruMMWwK5oCffd /DJyMYwV2WcId8QTW+ifn8VCFWS7sbbFGMTPP6hvy55HQAvLGy+Q469pb95tNteSqzheV/ 6RSbEl4sQr2/5y2prFzFeSRMXNCrP+BNrl5fRUkZYVbY7osvyM/dULRrBjoC/ewxZtPd+i 3i3PUswHK1wVHuZ4y+1zLHYBUtFL0bJ8cyXZ5hxEmStGHRr6+WwKqlA/++5uxw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1778082035; a=rsa-sha256; cv=none; b=Kw1fu0H7Zkle0QT391l9xxEx6TA2iNtlbB8oWb+ctb8leRdiSNAlIIYX0/ZAmlnfRCtpM0 i4URnHDJFPQt+P89fHFRMxOb+tMDhL/O5z6nO2WZfFysroFqyv30GfBGN2gBckVLvC4/5X I3HHNGICLi8VDgX7BNtxPO+jlXIH4KM+OohG2uzksIQHr0FFpmvKsYRxUPEPHal+13BTwY TMVIj/+SmgIeqg4Li2bGraa5dSWT3wYO07mh1czIT7PyAkBBSZD4Vk4zL2eu1xeRQnHti4 0BNzNIv2yycHqB87GVGbU4yS0hF2NyRSe4Nn0ySTqabHh/oe/zd/R8fXZa0LIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778082035; 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=iimaeWtqo7Luq83hlhvUncItJxB6gizxv1MxDMXQkDg=; b=ejCkejtxWE6W20kZ0vKhaHkG+3FEn0Gs4JPVlSZxERR+lQLMkMpXQPRbu9vKS8tWfN6krt 7zGdnTVX5QQJokaJ/NJXSFhNk8iaPR9UbKhxOrCR0BDUUslsT58FC1I3ifsG2CKetK7DcW mMGYzo3xz6eIV11OlMF/mmwHD2dRJbznbxQps4BhgVhfjdvExxvi+iWG7jvv1CUpVd2Fb/ F6NF1EVR2XCbxCV44ZMHcbt/yqvCFaudEeYOyI1gz68zguiUSlRjuvoCLR6nKHZa2meC3z FIWa0JGlVkjM+VFfYMR6GWWIKlD/v3UOoxc5l5wf2Lk9zHKFFdX4hCefuqiwNg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4g9fjH2GLKzljC for ; Wed, 06 May 2026 15:40:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 646FeZR7067456 for ; Wed, 6 May 2026 15:40:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 646FeZKA067454 for bugs@FreeBSD.org; Wed, 6 May 2026 15:40:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 295059] dtrace: Probe description does not truncate whitespace (e.g., "dtrace: description 'profile-97 ' matched 2 probes") Date: Wed, 06 May 2026 15:40:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 0mp@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295059 Bug ID: 295059 Summary: dtrace: Probe description does not truncate whitespace (e.g., "dtrace: description 'profile-97 ' matched 2 probes") Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: 0mp@FreeBSD.org Script: dtrace -x stackframes=3D100 \ -n 'profile-97 /execname =3D=3D "ls"/ { @[stack()] =3D count(); } tick-= 60s { exit(0); }' \ -o out.stacks Output: dtrace: description 'profile-97 ' matched 2 probes Problem: there is an extra space after profile-97. It seems like compile_str() crops the name. Perhaps we could also strip lea= ding and trailing whitespace while here. --=20 You are receiving this mail because: You are the assignee for the bug.=