[Bug translator/6644] Impure arguments prevent eliding pure function calls
joshua dot i dot stone at intel dot com
sourceware-bugzilla@sourceware.org
Mon Jun 16 05:31:00 GMT 2008
------- Additional Comments From joshua dot i dot stone at intel dot com 2008-06-14 03:22 -------
The example given is trivial, of course, but it can get hairier. I noticed this
with a few of the system calls. In particular, syscall.compat_utime calls
ctime(), which wasn't marked pure (though it should be). Then the argstr
sprintf with a ctime() parameter was not being elided, and so it could not elide
any of the other parameters either. Thus, even though I was not using any of
the probepoint variables, it had to compute all of them.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6644
------- 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