public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4250] New: ftrace does not follow threads
@ 2007-03-21 22:49 cagney at redhat dot com
  2007-05-04 20:11 ` [Bug general/4250] " swagiaal at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: cagney at redhat dot com @ 2007-03-21 22:49 UTC (permalink / raw)
  To: frysk-bugzilla

$ ../bindir/ftrace -o /tmp/ftrace.out ../bindir/ftrace
ftrace: no command or PID specified
ftrace: Try 'ftrace -help' for more information
$ head !$
head /tmp/ftrace.out
Ftrace.main() Proc.getPid() 2617
....
$ grep -v 2617.2617 !$
grep -v 2617.2617 /tmp/ftrace.out
Ftrace.main() Proc.getPid() 2617
Ftrace.main() Proc.getExe()
/home/scratch/frysk/native/frysk-core/frysk/bindir/ftrace

i.e., only output from the main thread is present

-- 
           Summary: ftrace does not follow threads
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: cagney at redhat dot com
OtherBugsDependingO 2245
             nThis:


http://sourceware.org/bugzilla/show_bug.cgi?id=4250

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug general/4250] ftrace does not follow threads
  2007-03-21 22:49 [Bug general/4250] New: ftrace does not follow threads cagney at redhat dot com
@ 2007-05-04 20:11 ` swagiaal at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: swagiaal at redhat dot com @ 2007-05-04 20:11 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From swagiaal at redhat dot com  2007-05-04 21:11 -------
Fixed:

[swagiaal@toner ~]$ grep -v 21736.21736 /tmp/ftrace.out 
1:Ftrace.main() Proc.getPid() 21736
2:Ftrace.main() Proc.getExe() /usr/local/bin/ftrace
429:Ftrace.main() Proc.getExe() /usr/local/bin/ftrace
430:21736.21737 <SYSCALL> set_robust_list () 21736.21737 = 0
431:21736.21737 <SYSCALL> futex (0x41bec,1,1,0x25888) 21736.21737 = 1



2007-05-04  Sami Wagiaalla  <swagiaal@redhat.com>
	
	* TestFtrace.java: New file.
	
	2007-05-04  Sami Wagiaalla  <swagiaal@redhat.com>
	
	* TestTaskSyscallObserver.java: Added a syscall cache.
	Replaced SyscallEventInfo.arg() with Syscall.getArguments().
	Replaced SyscallEventInfo.returnCode() with Syscall.getReturnCode().
	* SyscallEventInfo.java (arg): Removed.
	(returnCode): Removed.
	* Syscall.java: Changed all calls to SyscallEventInfo.args() to
	this.getArgument().
	Changed all calls to SyscallEventInfo.returnCode() to
	this.getReturnCode().
	* LinuxIa32Syscall.java: Changed second argument of write system call
	to a string.
	* LinuxX8664Syscall.java: Ditto.
	* LinuxPowerPCSyscall.java: Ditto.
	
	2007-05-04  Sami Wagiaalla  <swagiaal@redhat.com>
	
	* StracePrinter.java: Removed SyscallEventInfo argument.
	Removed when argument.
	Split the handle function into handleEnter and handleExit.
	* SyscallHandler.java: Ditto.
	* Ftrace.java: Added forkObserver for properly following forked
	children.
	Stoped use of Refresh for finding forked children.
	Added procObserver to newly added Procs.
	Added tasksObserver to procs executed by ftrace; fix for bz 2916.
	
	2007-05-04  Sami Wagiaalla  <swagiaal@redhat.com>
	
	* observers/SysCallUtilyInfo.java: Replaced use of
	SyscallEventInfo.arg() with Syscall.getArgument().
	Replaced use of SyscallEventInfo.returnCode() with
	Syscall.getReturnCode().


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=4250

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-04 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-21 22:49 [Bug general/4250] New: ftrace does not follow threads cagney at redhat dot com
2007-05-04 20:11 ` [Bug general/4250] " swagiaal at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).