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


GTK+-3.24.33, JSON-GLib-1.6.6, libunwind-1.6.2, libdazzle-3.44.0, Polkit-0.120 , 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 and sysprof-cli
Installed Libraries:, libsysprof-capture-4.a,,, and
Installed Directories: /usr/include/sysprof-4 and /usr/share/help/*/sysprof

Short Descriptions


is a graphical interface to sysprof


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