Bug 494950

Summary: systemtap needs trace headers in kernel-devel to let traceprobes work
Product: Red Hat Enterprise Linux 5 Reporter: Neil Horman <nhorman>
Component: kernelAssignee: Neil Horman <nhorman>
Status: CLOSED DUPLICATE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: wcohen
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 495560 (view as bug list) Environment:
Last Closed: 2009-05-26 14:18:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 495560    
Attachments:
Description Flags
patch to add trace subdir to kernel-devel package none

Description Neil Horman 2009-04-08 19:34:59 UTC
Created attachment 338784 [details]
patch to add trace subdir to kernel-devel package

Description of problem:
AS part of my writing a script to emulate dropwatch via systemtap, I noted that I was not able to use kernel.trace probes or the stap -L option to list available probes.  stap always returned a NULL search result (indicating no tracepoints available).  The problem turns out to be that the kernel-devel package fails to include the include/trace subdirectory, so stap can't find any included probes.  We need to include this to allow systemtap to properly use tracepoints in 5.4



How reproducible:
Always

Steps to Reproduce:
1. run stap -L 'kernel.trace("*")'

  
Actual results:
semantic error: no match while resolving probe point kernel.trace("*")

Expected results:
list of available tracepoints in the kernel

Additional info:

Comment 1 RHEL Program Management 2009-04-08 19:39:12 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 2 Neil Horman 2009-05-26 14:18:53 UTC

*** This bug has been marked as a duplicate of bug 489096 ***