21 Commits

Author SHA1 Message Date
Khem Raj e37675cdd5 sysprof: Disable on riscv32
it needs libunwind to build which is not yet ported to riscv32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-30 22:13:44 -07:00
Wang Mingyu 2e9e58b738 sysprof: Add dependence to fix do_configure error
Error message:
| Run-time dependency libdw found: NO (tried pkgconfig)
|
| ../sources/sysprof-48.0/src/sysprof-live-unwinder/meson.build:3:2: ERROR: Dependency "libdw" not found, tried pkgconfig

Add elfutils to DEPENDS

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-04 20:38:28 -07:00
Pablo Saavedra 7856922e5e sysprof: upgrade 48.0 -> 48.1
Changes:

* libsysprof-capture: Clean ring buffer memory for counters

Also:

* Make elf loader search for debug links in .debug dirs

Signed-off-by: Pablo Saavedra <psaavedra@igalia.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-04 10:51:14 -07:00
Pablo Saavedra f42d8e0e48 sysprof: upgrade 47.2 -> 48.0
Changes:

* Ensure local dbus-monitor is reaped after capturing
* Modernization for various GTK deprecations
* Add new symbolizer for debuginfod which is enabled by default
* Many performance improvements for capture loading
* Support for unwinding without frame-pointers on distributions
  lacking -fno-omit-frame-pointer at the toolchain level. This
  uses a new "sysprof-live-unwinder" elevated helper process
  which takes data from perf and unwinds the stack as soon as
  it can without capturing the perf data to disk.
  Thank you to Red Hat and the tools team for enabling this
  work for RHEL.
* The greeter now persists your settings and restores them the
  next time you run Sysprof.
* Various graph drawing improvements.
* Fixes for time display in various formats.
* Translation updates.
* Fix drawing of Y-reversed data point markers
* Make greeter save environment variables to state file for reuse
* Use D-Bus power profiles bus name rather than legacy D-Bus bus name

Also:

* Add new patch to fix environ shadowing in sysprof greeter

Signed-off-by: Pablo Saavedra <psaavedra@igalia.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-25 20:07:20 -07:00
Wang Mingyu b39123519b sysprof: upgrade 47.1 -> 47.2
Changelog:
============
* Use pid when generating counter IDs in SysprofCollector
* Fix potential UB in GtkBitset
* Avoid UB in bsearch() with no data
* Increased safety in SysprofDocumentLoader
* Increased safety when parsing CPU counters with async IO

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-03 09:44:36 -08:00
Pablo Saavedra 5da44d9d0b sysprof: Upgrade to 47.1
The versioning scheme was changed to align to GNOME releases.
This version resolves stack frames properly, as opposed to 3.48.

Depends on libdex/libpanel recipes to be able to build the sysprof
UI, besides the sysprof-cli executable.

Co-Authored-By: Nikolas Zimmermann <nzimmermann@igalia.com>
Signed-off-by: Pablo Saavedra <psaavedra@igalia.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-21 21:42:36 -08:00
Chen Qi 4b953a7d64 sysprof: require opengl distro feature when gtk4 is dependend on
gkt4 has 'opengl' in its REQUIRED_DISTRO_FEATURES, so when it is
depended upon by sysprof, 'opengl' distro feature should also be
required.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-19 13:50:57 -08:00
Khem Raj 9cc350b455 sysprof: Fix build with llvm libunwind
Update status of the patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-25 21:53:53 -07:00
Carlos Alberto Lopez Perez 37a1a632d5 sysprof: upgrade 3.44.0 -> 3.48.0
* 3.48.0 is currently the last stable version
* The GUI now uses GTK4 instead of GTK3
* A new CLI program sysprof-agent is now available
* libsysprof can be built without polkit support

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-25 07:58:08 -07:00
Markus Volk 84f8813858 drop GNOMEBASEBUILDCLASS = "meson"
It is set to meson by default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-11 09:26:41 -08:00
Khem Raj 12058113c4 sysprof: Remove libunwind on rv32
Make libunwind a packageconfig knob

LLVM libunwind works ok on rv32 but libunwind is not yet ported
when using clang and libcxx, it brings in llvm libunwind automatically

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-21 07:16:32 -07:00
Khem Raj 1a2c658843 sysprof: Fix build to work with llvm libunwind
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2022-04-13 19:21:41 -07:00
Andreas Müller d407f46638 sysprof: upgrade 3.42.1 -> 3.44.0
Overview of changes in Sysprof 3.44.0
=====================================
 * Translation updates

Overview of changes in Sysprof 3.43.90
======================================
 * Require libunwind unless disabled manually to help ensure distributions are
   doing the right thing.
 * Add allocation leaks section to memprof.
 * Fix preloading of speedtrack
 * Fix capture of mapped path names with spaces
 * Translation updates

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-13 19:21:40 -07:00
Khem Raj 06851c6fdc recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Andreas Müller 4c239f9933 sysprof: upgrade 3.42.0 -> 3.42.1
Overview of changes in Sysprof 3.42.1
=====================================
 * Build fixes for close()/lseek() usage
 * Show recording time in local time instead of UTC
 * Improve resolving of symbols in presence of toolbox, flatpak,
   and btrfs
 * Fix checking of paranoid state in Linux kernel
 * Updated translations

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-11 17:51:55 -08:00
Lei Maohui a339bc7618 sysprof: Added json-glib into DEPENDS to fix build error.
| Run-time dependency json-glib-1.0 found: NO (tried pkgconfig)
|
| ../sysprof-3.42.0/src/libsysprof/meson.build:115:0: ERROR: Dependency "json-glib-1.0" not found, tried pkgconfig

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-14 18:03:00 -08:00
Oleksandr Kravchuk ff96debac5 sysprof: update to 3.42.0
Dropped upstreamed patches.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-13 08:15:33 -08:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj 4ff5b43edd sysprof: Enable sysprofd/libsysprof only when polkit in DISTRO_FEATURES
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2021-04-26 08:24:04 -07:00
Andreas Müller ba2ce7364e sysprof: remove linux-gnueabi-patch
meson.bbclass takes care since oe-core

commit 010202076760329829fbde8dab4f535d6f755873
Author: Andreas M?ller <schnitzeltony@gmail.com>
Date:   Thu Apr 16 00:30:36 2020 +0200

    meson.bbclass: avoid unexpected operating-system names

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-30 07:58:37 -07:00
Andreas Müller 9c2ec3d81b sysprof: upgrade 3.34.1 -> 3.36.0
* Move recipe recipes-kernel ->  recipes-gnome
* 0001-libsysprof-ui-Rename-environ-to-sys_environ.patch can go: upstream did
  raname variable differently
* We can build help files these days
* reworder patches / recipe cleanup

Overview of changes in Sysprof 3.36.0

=====================================

 * Preload library has been moved to $libdir from $libexecdir
 * Build system improvements
 * Fix whole-system capture setting when using "Record Again" feature
 * New SysprofCollector interfaces for samples, marks, and logs to
   sit alongside allocations
 * Translation updates

Overview of changes in Sysprof 3.35.92
======================================

 * A new profiler for tracking memory allocations within processes
   that are spawned by Sysprof. Select "Track Allocations" to use
   an LD_PRELOAD module which monitors allocations within the target
   process. A callgraph is provided with allocations and their stack
   traces. This brings the main features of the venerable "Memprof"
   into Sysprof.
 * Port Sysprof to work on RHEL 7
 * Improvements to marks and counters displays
 * A new data frame in libsysprof-capture for memory allocations
   with stack traces.
 * sysprof-cli --merge can now be used to merge multiple syscap
   files together.
 * sysprof <program-path> can now be used to open Sysprof directly
   to a program to execute.
 * Sysprof now builds with additional security protections and
   optimization flags such as -Bsymbolic, -Wl,-z,defs, -Wl,-z,now,
   and -Wl,-z,relro.
 * Fixes for macOS
 * The ELF symbol resolver is faster
 * sysprof-cli now properly adds supplemental information to the
   capture file such as decoded symbols. This makes sharing syscap
   files across machines easier and more reliable.
 * A new mmap()'d ring buffer can be shared between processes for
   faster data transfer to sysprof. We expect more features around
   this SysprofCollector interface in future releases.
 * A new set if icons has been provided for the collectors
 * Translation updates

Overview of changes in Sysprof 3.35.2
=====================================

 * Build and test fixes
 * Track changes to gdbus-codegen
 * Include additional pkg-config variable for access to D-Bus data
 * Translation updates

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-03 15:15:43 -07:00