How to Install and Uninstall uftrace Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 05,2024

1. Install "uftrace" package

Please follow the guidance below to install uftrace on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install uftrace

2. Uninstall "uftrace" package

Please follow the guidance below to uninstall uftrace on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove uftrace $ sudo apt autoclean && sudo apt autoremove

3. Information about the uftrace package on Ubuntu 20.10 (Groovy Gorilla)

Package: uftrace
Architecture: amd64
Version: 0.9.3-1ubuntu1
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: paul cannon
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1457
Depends: libc6 (>= 2.27), libcapstone3 (>= 3.0.0), libdw1 (>= 0.143), libelf1 (>= 0.142), libncursesw6 (>= 6), libstdc++6 (>= 4.1.1), libtinfo6 (>= 6)
Filename: pool/universe/u/uftrace/uftrace_0.9.3-1ubuntu1_amd64.deb
Size: 355728
MD5sum: 003447c0ad2e1568d9a701f79725dbe3
SHA1: 42b108c4f2835b71c875feadc6f6af2ffc32d7fc
SHA256: 35c25272bc3731527877baf9542b53f651bfe5c5f0638fc5866213d225b94032
SHA512: 6c35ad9ad05e988ee7b46423d2dbcb344d0f754441132b83e2cdeb1cd9a744c881ee54524024f7e65a1176a27b70616216299c450a2141afabe75fa6e8c9eea4
Homepage: https://github.com/namhyung/uftrace
Description-en: Traces and analyzes execution of programs written in C/C++
The uftrace tool is intended for tracing and analyzing the execution of
programs written in C or C++. It was heavily inspired by the ftrace framework
of the Linux kernel (especially the function graph tracer) and supports
userspace programs. It supports various kinds of commands and filters to help
analysis of the program's execution and performance.
.
It traces each function in the executable and shows time durations. It can
also trace external library calls - but usually only entry and exit are
supported. It is also possible to trace other (nested) external library calls
and/or internal function calls in the library call.
.
It can show detailed execution flow at function level, and report which
function has the highest overhead. It also shows various information
related to the execution environment.
.
You can setup filters to exclude or include specific functions when tracing.
In addition, function arguments and return values can be saved and shown
later.
.
The uftrace tool supports multi-process and/or multi-threaded applications.
It can also trace kernel functions as well, with root privileges and if the
system enables the function graph tracer in the kernel
(CONFIG_FUNCTION_GRAPH_TRACER=y).
Description-md5: 25809a3f45ec7a94394531798097f828