Bug 460879 - ppid() function broken
Summary: ppid() function broken
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemtap
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Frank Ch. Eigler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-02 10:52 UTC by David Juran
Modified: 2008-09-02 15:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-02 15:20:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Juran 2008-09-02 10:52:52 UTC
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 13:25:15 UTC
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 14:50:22 UTC
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.