[Bug translator/11353] elide side-effect-free probes

dsmith at redhat dot com sourceware-bugzilla@sourceware.org
Mon Mar 8 21:48:00 GMT 2010


------- Additional Comments From dsmith at redhat dot com  2010-03-08 21:48 -------
(In reply to comment #6)
> (In reply to comment #5)
> > What is this going to do to the testsuite?  Lots of buildok scripts (for
> > example) do something like: 
> > 
> > probe vm.*,
> >       vm.*.* {}
> > 
> 
> Good point.
> We could add the "-t" flag to these test cases, and also make
> sure that the optimization does not apply in the -t case.

A simple solution here would be to put something in those probes, like:

probe vm.*,
      vm.*.* { printf("here\n") }



-- 


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

------- 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