How to Install and Uninstall uftrace Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 12,2024

1. Install "uftrace" package

Please follow the guidelines below to install uftrace on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install uftrace

2. Uninstall "uftrace" package

Here is a brief guide to show you how to uninstall uftrace on Ubuntu 21.10 (Impish Indri):

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

3. Information about the uftrace package on Ubuntu 21.10 (Impish Indri)

Package: uftrace
Architecture: amd64
Version: 0.9.4-0.2ubuntu1
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: paul cannon
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1483
Depends: libc6 (>= 2.32), libcapstone4 (>= 4), libdw1 (>= 0.143), libelf1 (>= 0.142), libncursesw6 (>= 6), libstdc++6 (>= 4.1.1), libtinfo6 (>= 6)
Filename: pool/universe/u/uftrace/uftrace_0.9.4-0.2ubuntu1_amd64.deb
Size: 367392
MD5sum: b79fab16d73cbc741a0925c10590f54f
SHA1: 6e4ce4b00674b19b624cd1a969d16aded557a037
SHA256: ab3cc11fc1ff6d65b04cb688556cc31328147928977e0a70dc37cb06160ecad3
SHA512: 9d36c6b82814e2ac684e6ac528022a22e356a4804a7701b8f5945db0613b55603cfc73f8e02747a7ec23e0ac323d30d40dafac40cd3113efcba7d2d99f4d6893
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