This is the mail archive of the
frysk-bugzilla@sourceware.org
mailing list for the frysk project.
[Bug general/5724] ftrace needs a -all option...
- From: "pmachata at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: frysk-bugzilla at sourceware dot org
- Date: 5 Feb 2008 08:33:02 -0000
- Subject: [Bug general/5724] ftrace needs a -all option...
- References: <20080204174048.5724.swagiaal@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.