Documentation/devtools/maemo5/latrace: Difference between revisions
From Maemo Wiki
Jump to navigationJump to search
imported>kaltsi New page: == 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 * displ... |
imported>speedevil →Links: fix manpage link |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Devtools}} | |||
== Description == | == Description == | ||
| Line 42: | Line 45: | ||
== Links == | == Links == | ||
[ltrace man page](/development/documentation/man_pages/ltrace.html) | [http://linux.die.net/man/1/ltrace ltrace man page](/development/documentation/man_pages/ltrace.html) | ||
== See Also == | == See Also == | ||
[[Documentation/devtools/maemo5/strace|strace]],[[Documentation/devtools/maemo5/ltrace|ltrace]] | [[Documentation/devtools/maemo5/strace|strace]],[[Documentation/devtools/maemo5/ltrace|ltrace]] | ||
[[Category:Fremantle]] | |||
Latest revision as of 09:22, 21 May 2010
| This article documents a developer tool. A list of available devtools is available, together with installation instructions. |
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)