This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Eliding side-effect-free expression?
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: dcnltc at us dot ibm dot com
- Cc: systemtap at sourceware dot org
- Date: Tue, 11 Dec 2007 14:02:10 -0500
- Subject: Re: Eliding side-effect-free expression?
- References: <475EC7DD.4060609@us.ibm.com>
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