Documentation/devtools/maemo5/ltrace

From Maemo Wiki
Revision as of 10:44, 30 September 2009 by imported>kaltsi (New page: == Description == Ltrace traces both system and library calls. Ltrace is quite similar to strace the main differences being: * ltrace can trace ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

[ltrace man page](/development/documentation/man_pages/ltrace.html)

See Also

strace