Bug 460879 - ppid() function broken
ppid() function broken
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: systemtap (Show other bugs)
9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Frank Ch. Eigler
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-02 06:52 EDT by David Juran
Modified: 2008-09-02 11:20 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-09-02 11:20:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description David Juran 2008-09-02 06:52:52 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):
systemtap-0.6.2-1.fc9
kernel-2.6.25.14-108.fc9

How reproducible:
Every time

Steps to Reproduce:
1. run the attached script
  
Actual results:
/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'

Additional info:
The test script works fine on RHEL4
Comment 1 Frank Ch. Eigler 2008-09-02 09:25:15 EDT
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.
Comment 2 David Juran 2008-09-02 10:50:22 EDT
Seems my attachment got lost on the way... But yes, systemtap-0.7-1 (stuck in updates-testing) indeed solves the problem (-:

Note You need to log in before you can comment on or make changes to this bug.