Introduction to Sysprof

The sysprof package contains a statistical and system-wide profiler for Linux.



Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

Sysprof Dependencies


desktop-file-utils-0.26, GTK-4.8.3, itstool-2.0.7, JSON-GLib-1.6.6, libadwaita-1.2.1, libdazzle-3.44.0, libunwind-1.6.2, Polkit-122 , and elogind-246.10

User Notes:

Installation of Sysprof

Install Sysprof by running the following commands:

mkdir build &&
cd    build &&

meson --prefix=/usr --buildtype=release -Dsystemdunitdir=/tmp .. &&

To test the results, issue: ninja test.

Now, as the root user:

ninja install &&
rm -v /tmp/*.service

Command Explanations

rm -v /tmp/*.service: This command removes systemd units which have no use on SysV systems.

-Dsystemdunitdir=/tmp: This parameter puts systemd units in /tmp on SysV systems so that they can be removed. It also bypasses a check for systemd in the file.


Installed Programs: sysprof, sysprof-agent, and sysprof-cli
Installed Libraries:, libsysprof-capture-4.a,,, and
Installed Directories: /usr/include/sysprof-4, /usr/include/sysprof-ui-5, and /usr/share/help/*/sysprof

Short Descriptions


is a graphical interface to sysprof


is used to profile applications in containers


is a command line interface to sysprof

provides API functions for profiling processes running on a system


provides a hook used to capture statistics from a process

provides API functions for capturing memory statistics

provides API functions for tracking the speed of a running process

provides API functions for the sysprof GUI