Bug 2916 - ftrace does not follow clones/forks
Summary: ftrace does not follow clones/forks
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Sami Wagiaalla
URL:
Keywords:
Depends on:
Blocks: 2245
  Show dependency treegraph
 
Reported: 2006-07-13 12:48 UTC by Sami Wagiaalla
Modified: 2007-05-04 18:28 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 
        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().