Bug 441528

Summary: ftrace doesn't work at all
Product: Red Hat Enterprise Linux 5 Reporter: Petr Muller <pmuller>
Component: fryskAssignee: Eric Bachalo <ebachalo>
Status: CLOSED WONTFIX QA Contact: Len DiMaggio <ldimaggi>
Severity: low Docs Contact:
Priority: low    
Version: 5.2CC: ebachalo, kasal, mcvet, npremji, ohudlick, pmuldoon, scox
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-15 09:38:50 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:

Description Petr Muller 2008-04-08 16:09:45 UTC
Description of problem:
I haven't been succesful when running a command under ftrace. If I attach to 
some already running pid, everything seems to be ok. But if I run direct 
command, then nothing happens and the program seems to never end. I wasn't able 
to run any of the examples from the man page.

Version-Release number of selected component (if applicable):
frysk-0.0.1.2008.03.19.rh1-1.el5

How reproducible:
seems like always

Steps to Reproduce:
1. ftrace -sys= ls (but any options can be used, none works)
2. see execvp: No such file or directory error message
  
Actual results:
no workie workie

Expected results:
ls output is shown, along with the captured syscalls

Additional info:
# ftrace -sys= -- ls
execvp: No such file or directory

Comment 1 Mark Wielaard 2008-04-08 16:14:53 UTC
This is similar to this fedora bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=440323

Workaround for now, use full absolute paths to the binary you want to frace: 
ftrace -sys= /bin/ls

Comment 2 Andrew Cagney 2008-04-08 18:12:28 UTC
fixed upstream