Eliding side-effect-free expression?
Frank Ch. Eigler
fche@redhat.com
Tue Dec 11 19:03:00 GMT 2007
Dave Nomura <dcnltc@us.ibm.com> writes:
> [...]
> so I think it found the cpuinit.stp script in that defines
> qtrace_cpu_init() but I get the following message:
> Eliding side-effect-free expression identifier 'qtrace_cpu_init' at
> qtrace/qtrace.stp:1502:2
> [...]
> So, my question is, why did STAP decide that this function
> qtrace_cpu_init() is side-effect free?
That would be a bug, unless the embedded-C function contained the
magic string /* pure */.
- FChE
More information about the Systemtap
mailing list