Namespace

Sysprof – 6

A GNOME library providing profiling capabilities

Version50.0
AuthorsChristian Hergert
LicenseGPL-3.0-or-later
Websitehttps://gitlab.gnome.org/GNOME/sysprof/
Sourcehttps://gitlab.gnome.org/GNOME/sysprof/

Build

C headerssysprof.h
pkg-config filessysprof-6

Dependencies

GLib—2.0 The base type system library
Browse documentation
GObject—2.0 The base type system library
Browse documentation

Additional documentation

Interfaces

Bitfields

Callbacks

AugmentationFunc

This function is called for the bottom most node in a trace as it is added to a callgraph.

BacktraceFunc

CaptureCursorCallback

This is the prototype for callbacks that are called for each frame matching the cursor query.

SpawnableFDForeach

Functions

address_context_to_string

address_is_context_switch

clock_init

collector_allocate

collector_define_counters

collector_init

collector_is_active

collector_log

collector_log_printf

collector_mark

collector_mark_printf

collector_mark_vprintf

collector_request_counters

collector_sample

collector_set_counters

collector_trace

getpagesize

Gets the page size using platform specific APIs.

since: 3.36

memfd_create

Creates a new memfd using the memfd_create syscall if available. Otherwise, a tmpfile is used. Currently, no attempt is made to ensure the tmpfile is on a tmpfs backed mount.