Date: Wed, 06 May 2026 15:40:32 +0000 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") Message-ID: <bug-295059-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295059 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=100 \ -n 'profile-97 /execname == "ls"/ { @[stack()] = 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 leading and trailing whitespace while here. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295059-227>
