latrace

traces library calls in dynamically linked programs

Install

All systems
curl cmd.cat/latrace.sh
Debian Debian
apt-get install latrace
Ubuntu
apt-get install latrace
CentOS
yum install latrace
Fedora
dnf install latrace
Windows (WSL2)
sudo apt-get update sudo apt-get install latrace
Raspbian
apt-get install latrace

latrace

traces library calls in dynamically linked programs

latrace (similar to ltrace) displays dynamic library calls of a program using the LD_AUDIT feature of newer glibc versions. It is also capable to measure and display various statistics of dynamic calls. If a config file is provided, latrace will display function arguments with detailed output for structures.