Documentation/devtools/maemo5/ltrace: Difference between revisions
From Maemo Wiki
Jump to navigationJump to search
imported>kaltsi No edit summary |
imported>amigadave |
||
| Line 31: | Line 31: | ||
[[Documentation/devtools/maemo5/strace|strace]], | [[Documentation/devtools/maemo5/strace|strace]], | ||
[[Documentation/devtools/maemo5/latrace|latrace]] | [[Documentation/devtools/maemo5/latrace|latrace]] | ||
[[Category:Devtools]] | |||
[[Category:Fremantle]] | |||
Revision as of 11:15, 12 February 2010
Description
Ltrace traces both system and library calls.
Ltrace is quite similar to strace the main differences being:
- ltrace can trace also function calls between shared libraries.
- ltrace does not work over clone(). If threading or forking is used, ltrace needs to be attached to the process after that has happened.
Packages
source: ltrace
binary: ltrace
Usage Examples
Attach to the process with process id pid and begin tracing:
# ltrace -p pid
Links
[ltrace man page](/development/documentation/man_pages/ltrace.html)