This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Unknown symbol error using stap in RHEL 5.4
On 05/13/2010 11:07 AM, Frank Ch. Eigler wrote:
> Maynard Johnson <maynardj@us.ibm.com> writes:
>
>> [...] *Frank*, the tweak I mentioned above was this: The stapitrace
>> rpm installation adds a tapset script to
>> /usr/share/systemtap/tapsets/ppc64. I found that with the updated
>> systemtap, I needed to move that file to
>> /usr/share/systemtap/tapsets/powerpc. [...]
>
> This was a consequence of PR4186, a change noted in NEWS for release 1.0.
> If you don't want to move stapitrace over to the new conventions, you
> could put your tapset file under /usr/share/systemtap/tapset directly,
> and guard it with %( arch == "powerpc" || arch == "ppc64" %? .... %)
Well, that preprocessor-|| was only introduced in 1.0 as well. :(
I think the easiest thing is to just move the tapset to the new location
and rpm-Require systemtap >= 1.0.
Josh