[PATCH RFC] itrace probe point problem on ppc64: unknown symbol 'access_process_vm'

Maynard Johnson maynardj@us.ibm.com
Tue Mar 3 04:07:00 GMT 2009


Hi,
As I mentioned in my previous post today, besides the need for updating runtime/itrace.c to use the new utrace interface, I found another problem when trying to use the itrace probe point on ppc64 -- I got an "unknown symbol" error for 'access_process_vm' when systemtap tried to insert the generated kernel module.  Turns out that on the ppc64 kernel for Fedora, this symbol isn't exported.  :-(  I've gotten around this by simply pasting the access_process_vm code into runtime/itrace.c and renaming it to avoid a clash when using on Fedora/x86_64 (where this kernel function *is* exported).  The attached patch shows this change.  Is this an acceptable way to handle this problem?  Or does someone have a better idea?

Thanks.
-Maynard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systap-access_process_vm.patch
Type: text/x-patch
Size: 2562 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20090303/1a61aaff/attachment.bin>


More information about the Systemtap mailing list