This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]