git: 31938394def0 - main - stress2/fullpath2: Clean up the vn_fullpath DTrace one-liner
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Jul 2025 20:25:15 UTC
The branch main has been updated by 0mp:
URL: https://cgit.FreeBSD.org/src/commit/?id=31938394def0b96d1c5ca25d3329da146ad019a3
commit 31938394def0b96d1c5ca25d3329da146ad019a3
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2025-07-16 11:23:38 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2025-07-18 20:24:38 +0000
stress2/fullpath2: Clean up the vn_fullpath DTrace one-liner
- Remove -w; there is no need for destructive actions here.
- Remove the glob from before "vn_fullpath"; the probe description
matches vn_fullpath only anyway, so there is no need for the glob
here.
PR 288222
Reviewed by: christos
Approved by: christos (mentor)
Fixes: 113f2f0c76a7 stress2: Updated dtrace comment
Differential Revision: https://reviews.freebsd.org/D51341
---
tools/test/stress2/misc/fullpath2.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/test/stress2/misc/fullpath2.sh b/tools/test/stress2/misc/fullpath2.sh
index f0037851482d..413f832420d4 100755
--- a/tools/test/stress2/misc/fullpath2.sh
+++ b/tools/test/stress2/misc/fullpath2.sh
@@ -123,7 +123,7 @@ static volatile u_int *share;
#define NB 1024
#define RUNTIME 300
-/* dtrace -w -n 'fbt::*vn_fullpath:entry {@rw[execname,probefunc] = count(); }' */
+/* dtrace -n 'fbt::vn_fullpath:entry {@rw[execname,probefunc] = count(); }' */
static void
getfiles(pid_t pid)