Sysprof-3.48.0

Introduction to Sysprof

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

[Note]

Note

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

Package Information

Sysprof Dependencies

Required

desktop-file-utils-0.26, GTK-4.10.4, itstool-2.0.7, JSON-GLib-1.6.6, libadwaita-1.3.3, libdazzle-3.44.0, libunwind-1.6.2, Polkit-122 , and elogind-252.9

Installation of Sysprof

Install Sysprof by running the following commands:

mkdir build &&
cd    build &&

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

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 meson.build file.

Contents

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

Short Descriptions

sysprof

is a graphical interface to sysprof

sysprof-agent

is used to profile applications in containers

sysprof-cli

is a command line interface to sysprof

libsysprof-4.so

provides API functions for profiling processes running on a system

libsysprof-capture-4.a

provides a hook used to capture statistics from a process

libsysprof-memory-4.so

provides API functions for capturing memory statistics

libsysprof-speedtrack-4.so

provides API functions for tracking the speed of a running process

libsysprof-ui-4.so

provides API functions for the sysprof GUI