[DTrace-devel] [PATCH 11/17] dtprobed: make sure that retry one time means exactly that

Kris Van Hees kris.van.hees at oracle.com
Sat Jun 7 06:15:03 UTC 2025


Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
---
 dtprobed/dtprobed.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dtprobed/dtprobed.c b/dtprobed/dtprobed.c
index de15e546..b5c015ac 100644
--- a/dtprobed/dtprobed.c
+++ b/dtprobed/dtprobed.c
@@ -771,7 +771,7 @@ process_dof(pid_t pid, int out, int in, dev_t dev, ino_t inum, dev_t exec_dev,
 		errmsg = "parsed DOF read failed";
 		provider = usdt_read(pid, in);
 		if (!provider) {
-			if (tries++ > 1)
+			if (tries++ > 0)
 				goto err;
 			/*
 			 * Tidying reopens the parser in and out pipes: catch
-- 
2.45.2




More information about the DTrace-devel mailing list