This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/5724] ftrace needs a -all option...


------- Additional Comments From pmachata at redhat dot com  2008-02-05 08:33 -------
I believe you almost never need to trace every symbol in the application. If the
-all defaulted to syscalls and -plt=@MAIN, i.e. what ltrace does, that I would
probably find useful.  Maybe even -plt=, which is ALL library calls except for
the calls in dynamic linker. But with the way ftrace works (i.e. over ptrace),
that's prohibitively slow as each function call imposes two context switches (to
debugger on SIGTRAP, and back on PTRACE_CONT).  So all in all, I just don't
think that -all would be very useful.

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


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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]