[Jifty-commit] r5437 - Runops-Trace/trunk

Jifty commits jifty-commit at lists.jifty.org
Sat May 10 10:28:16 EDT 2008


Author: nothingmuch
Date: Sat May 10 10:28:16 2008
New Revision: 5437

Modified:
   Runops-Trace/trunk/Trace.xs

Log:
mask

Modified: Runops-Trace/trunk/Trace.xs
==============================================================================
--- Runops-Trace/trunk/Trace.xs	(original)
+++ Runops-Trace/trunk/Trace.xs	Sat May 10 10:28:16 2008
@@ -42,9 +42,12 @@
 
     /* global flag controls all hooking behavior */
     if (Runops_Trace_enabled) {
-      /* only trace enabled ops */
+
+      /* if we have a mask set, only trace unmasked ops */
       if (!Runops_Trace_mask || Runops_Trace_mask[PL_op->op_type]) {
-        /* the hook may have assigned PL_op itself */
+
+        /* the hook may have assigned PL_op itself, in which case we just go to
+         * the next loop iteration */
         if (Runops_Trace_hook && CALL_FPTR( Runops_Trace_hook) (aTHX))
           continue;
       }


More information about the Jifty-commit mailing list