Options (1)
-o, --outputbooleanWrite to file instead of terminal
Example:
ltrace {{[-o|--output]}} {{file}} {{path/to/program}}Examples (4)
Print (trace) library calls of a program binary
ltrace path/to/programCount library calls. Print a handy summary at the bottom
ltrace -c path/to/programTrace calls to malloc and free, omit those done by libc
ltrace -e [email protected]* path/to/programmade by @shridhargupta | data from tldr-pages