[Bug translator/4935] support on-the-fly probe enable/disable syntax

mhiramat at redhat dot com sourceware-bugzilla@sourceware.org
Mon Oct 8 16:49:00 GMT 2007


------- Additional Comments From mhiramat at redhat dot com  2007-10-08 16:49 -------
I'm interested in this feature.

As far as I understand, with this feature, systemtap treats the next script ;
---
 probe ALIAS=PROBEPOINT { stmt1; }
 probe ALIAS if (expr) { stmt2; }
---
as
---
 probe PROBEPOINT { if (!expr) next; stmt1; stmt2}
---

In that case, 
---
 probe ALIAS=PROBEPOINT { stmt1; }
 probe ALIAS if (expr) { stmt2; }
 probe ALIAS { stmt3; }
---
will be treated as
---
 probe PROBEPOINT { if (!expr) next; stmt1; stmt2}
 probe PROBEPOINT { stmt1; stmt3}
---
Is that right?


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4935

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list