Bug 2916

Summary: ftrace does not follow clones/forks
Product: frysk Reporter: Sami Wagiaalla <swagiaal>
Component: generalAssignee: Sami Wagiaalla <swagiaal>
Severity: normal CC: cagney, pmuldoon
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2245    

Description Sami Wagiaalla 2006-07-13 12:48:10 UTC
Comment 1 Sami Wagiaalla 2007-05-04 19:28:43 UTC
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 
        Changed all calls to SyscallEventInfo.returnCode() to
        * 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
        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