Red Hat Bugzilla – Bug 460879
ppid() function broken
Last modified: 2008-09-02 11:20:32 EDT
Description of problem:
The ppid() function (and friends, e.g. pexecname()) in systemtap is broken with recent Fedora kernels.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run the attached script
/tmp/stapcCEZR9/stap_fdbf0bd9d6a72ae8448ba474df9aa739_626.c: In function 'function_ppid':
/tmp/stapcCEZR9/stap_fdbf0bd9d6a72ae8448ba474df9aa739_626.c:131: error: 'struct task_struct' has no member named 'parent'
The test script works fine on RHEL4
David, I didn't see an attached script.
A hand-made one using ppid() worked fine with the current
release of systemtap (0.7) on fc9. Please try that one.
Seems my attachment got lost on the way... But yes, systemtap-0.7-1 (stuck in updates-testing) indeed solves the problem (-: