Documentation/devtools/maemo5/latrace

Image:Ambox_content.png
This article documents a developer tool.
A list of available devtools is available, together with installation instructions.


Contents

[edit] Description

latrace allows you to trace library calls and get their statistics in a manner similar to the strace utility.

  • display dynamic functions as they are called
  • display function arguments
  • display statistics for called functions

[edit] Packages

source: latrace

binary: latrace

[edit] Usage Examples

Nokia-N900-40-12:~# latrace cat
 3380     __libc_start_main [/lib/libc.so.6]
 3380       __sigsetjmp [/lib/libc.so.6]
 3380       __errno_location [/lib/libc.so.6]
 3380       strrchr [/lib/libc.so.6]
 3380       getuid [/lib/libc.so.6]
 3380       bsearch [/lib/libc.so.6]
 3380         strcmp [/lib/libc.so.6]
 3380         strcmp [/lib/libc.so.6]
 3380         strcmp [/lib/libc.so.6]
 3380         strcmp [/lib/libc.so.6]
 3380         strcmp [/lib/libc.so.6]
 3380         strcmp [/lib/libc.so.6]
 3380         strcmp [/lib/libc.so.6]
 3380         strcmp [/lib/libc.so.6]
 3380       memset [/lib/libc.so.6]
 3380       getopt_long [/lib/libc.so.6]
 3380       read [/lib/libc.so.6]
foo
 3380       write [/lib/libc.so.6]
foo
 3380       read [/lib/libc.so.6]

[edit] Links

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

[edit] See Also

strace,ltrace