Documentation/devtools/maemo5/latrace
(devtools template) |
|||
Line 1: | Line 1: | ||
+ | {{Devtools}} | ||
+ | |||
+ | |||
== Description == | == Description == | ||
Line 48: | Line 51: | ||
[[Documentation/devtools/maemo5/strace|strace]],[[Documentation/devtools/maemo5/ltrace|ltrace]] | [[Documentation/devtools/maemo5/strace|strace]],[[Documentation/devtools/maemo5/ltrace|ltrace]] | ||
- | |||
[[Category:Fremantle]] | [[Category:Fremantle]] |
Revision as of 15:11, 11 March 2010
This article documents a developer tool. A list of available devtools is available, together with installation instructions. |
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)