Documentation/devtools/maemo5/latrace

(Links: fix manpage link)
 
(One intermediate revision 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 ==
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:Devtools]]
 
[[Category:Fremantle]]
[[Category:Fremantle]]

Latest revision as of 09:22, 21 May 2010

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