public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/5724] New: ftrace needs a -all option...
@ 2008-02-04 17:41 swagiaal at redhat dot com
2008-02-05 8:33 ` [Bug general/5724] " pmachata at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: swagiaal at redhat dot com @ 2008-02-04 17:41 UTC (permalink / raw)
To: frysk-bugzilla
...to turn on tracing all syscalls as well as library calls.
also need an option to turn on tracing of all library calls
--
Summary: ftrace needs a -all option...
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: swagiaal at redhat dot com
OtherBugsDependingO 5719
nThis:
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug general/5724] ftrace needs a -all option...
2008-02-04 17:41 [Bug general/5724] New: ftrace needs a -all option swagiaal at redhat dot com
@ 2008-02-05 8:33 ` pmachata at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: pmachata at redhat dot com @ 2008-02-05 8:33 UTC (permalink / raw)
To: frysk-bugzilla
------- 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-05 8:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-04 17:41 [Bug general/5724] New: ftrace needs a -all option swagiaal at redhat dot com
2008-02-05 8:33 ` [Bug general/5724] " pmachata 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).