Bug 5724 - ftrace needs a -all option...
Summary: ftrace needs a -all option...
Status: RESOLVED WONTFIX
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 5719
  Show dependency treegraph
 
Reported: 2008-02-04 17:40 UTC by Sami Wagiaalla
Modified: 2008-02-05 08:33 UTC (History)
0 users

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 2008-02-04 17:40:48 UTC
...to turn on tracing all syscalls as well as library calls.

also need an option to turn on tracing of all library calls
Comment 1 Petr Machata 2008-02-05 08:33:02 UTC
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.