Documentation/devtools/maemo5/latrace

Contents

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

Packages

source: latrace

binary: latrace

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]

Links

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

See Also

strace,ltrace