Commit Graph

4255 Commits

Author SHA1 Message Date
c4bee4ebe9 Merge branch 'gbsneto/sysprof-cat' into 'master'
Introduce sysprof-cat

See merge request GNOME/sysprof!104
2024-09-26 21:36:09 +00:00
cc3dc46910 build: bump for development 2024-09-26 14:35:15 -07:00
7c93149315 Introduce sysprof-cat
It's a simple CLI tool that dumps the contents of a Sysprof capture
file in a syntax inspired by GTK's render node syntax.

It prints metadata, the callgraph, marks, and counters. Other fields
may be added as needed, but for now this is sufficient for inspecting
WebKit captures.

There are CLI args for not printing particular groups, so that we can
filter out what we need.
2024-09-26 13:11:55 -03:00
6fb9589f67 Merge branch 'gbsneto/webkit-counters' into 'master'
sysprof: Match "webkit" for counters as well

See merge request GNOME/sysprof!105
2024-09-25 18:58:25 +00:00
ed9bac07d0 sysprof: Match "webkit" for counters as well
WebKit may start introducing counters for page rendering, and it's
great to be able to see them in Sysprof UI :)
2024-09-25 15:37:37 -03:00
e5382d1b8c build: reduce GLib requirement
This is kept lower so that you can build without GTK on older systems.

Related: 530b4a9d12 (note_2223853)
2024-09-16 09:48:27 -07:00
c50e089226 Update Slovak translation 2024-09-14 14:56:17 +00:00
ae9764ccf4 Post-release version bump 2024-09-13 19:28:47 -07:00
5513868c49 Release 47.0 2024-09-13 19:28:13 -07:00
b8781e733c flame-graph: trim off some whispies 2024-09-12 13:07:51 -07:00
4142472984 libsysprof: collapse recursive functions 2024-09-12 12:44:08 -07:00
15844df5b9 callgraph: use bump allocator for callgraph nodes 2024-09-12 10:52:41 -07:00
f446178796 allocator: add 16kb page bump allocator
This is a private allocator that can be used for large groups of
allocations that are tied to a specific object.

For example, the callgraph owning many nodes can use this so all the nodes
are allocated together, but also freed in a single stage ignoring all the
complex GList linked nodes among them.
2024-09-12 10:52:18 -07:00
eca993b42c preload: add static assertion with offsetof() check 2024-09-12 09:26:13 -07:00
c228634fcb libsysprof-capture: handle unwind length < 0 gracefully
Also do the snapshot before setting up frame so that unwinders can do
tricks to use extra space before the addr location.
2024-09-12 09:23:10 -07:00
c9a3ab1401 Update Danish translation 2024-09-10 20:40:06 +00:00
2b0e56713e Update British English translation 2024-09-10 10:23:31 +00:00
766269f63e Update Czech translation 2024-09-09 14:54:22 +00:00
83799dae08 Update Indonesian translation 2024-09-09 07:55:28 +00:00
ae1f656963 Update Bulgarian translation 2024-09-06 08:50:05 +00:00
17d6869816 Add Bulgarian translation
(cherry picked from commit 28b4d572be18d447b3bbb4e51e9454c9cc689ff5)
2024-09-06 08:48:22 +00:00
735ae16ae7 Update French translation 2024-09-04 20:30:33 +00:00
3322f453ad Update Lithuanian translation 2024-09-03 19:29:02 +00:00
f7b24f4f7b Updated Spanish translation 2024-09-03 11:11:53 +02:00
69b8906644 Update Galician translation 2024-09-02 17:13:26 +00:00
603f435fe4 Update Basque translation 2024-09-02 15:52:08 +00:00
5f9b22fead Update Turkish translation 2024-09-01 11:10:28 +00:00
5b15860c8f Update Swedish translation 2024-08-31 15:19:50 +00:00
a837eaa67a Update Hungarian translation 2024-08-30 14:26:50 +00:00
2d4e3bf304 Update Portuguese translation 2024-08-30 11:06:26 +00:00
24af009c65 Update Korean translation 2024-08-29 23:31:40 +00:00
1da6f7fe3b Update Czech translation 2024-08-29 22:46:35 +00:00
d6acbbefcd Merge branch 'City-busz-master-patch-65356' into 'master'
Set icon for the window

See merge request GNOME/sysprof!102
2024-08-29 16:00:47 +00:00
23299b0746 Set icon for the window 2024-08-29 16:28:43 +02:00
4d8f524077 Update Catalan translation 2024-08-28 15:16:25 +00:00
3c086533c9 Update Brazilian Portuguese translation 2024-08-26 12:11:25 +00:00
1dec43d1c9 Update Persian translation 2024-08-26 09:08:03 +00:00
2a9b04d01b Update Chinese (China) translation 2024-08-25 05:26:55 +00:00
9465fe9579 Update Ukrainian translation 2024-08-23 10:30:09 +00:00
6c6c203b89 Update Georgian translation 2024-08-23 08:11:43 +00:00
9cd94b2374 Update Romanian translation 2024-08-23 05:05:08 +00:00
40c1653bad Update German translation 2024-08-22 20:20:07 +00:00
3a5d110b1d Update Hebrew translation 2024-08-22 15:50:39 +00:00
10217bb0e2 libsysprof-capture: fix set_fd_blocking()
It was missing an include for the define and the variable was flat out
wrong when porting.

Fixes: #124
2024-08-22 08:33:45 -07:00
3ab494539e Merge branch 'nzimmermann/issue-123-make-polkit-agent-optional' into 'master'
Turn polkit-agent support into an optional feature.

See merge request GNOME/sysprof!100
2024-08-20 21:43:45 +00:00
8ce302d65f Merge branch 'wip/utilities' into 'master'
desktop: Move to GNOME Shell Utilities folder

See merge request GNOME/sysprof!101
2024-08-20 21:43:00 +00:00
744f198018 desktop: Move to GNOME Shell Utilities folder 2024-08-20 17:39:04 -04:00
b726f49d15 Turn polkit-agent support into an optional feature.
This simplifies deployment on embedded devices, where polkit is usually
unncessary at runtime, but pulls in quite a few otherwise unncessary
dependencies. Start to improve the situation by allowing to selectively
disable polkit-agent support at compile time, which aids in container
usage scenarios, where one wants to invoke 'sysprof-cli' from within
the container. Bypassing polkit-agent in the container is then desired,
since the host sysprofd will handle asking for permissions to enable
the tracing. It allows for a simpler setup of rootless podman
containers, avoiding UID mismatches, that lead to rejection of the
tracing enablement.

- Add a new 'polkit-agent' meson build feature, that allows to force disabling
  polkit-agent support (-Dpolkit-agent=disabled).

- Mark the 'polkit-agent' feature as enabled, by default, to reflect
  the current status (sysprof-cli did not build without polkit-agent support).

- libsysprof/sysprof-instrument.c: Build fix when polkit is not available,
  remove the unnecessary 'g_autopr(PolkitDetails) details' variable.

- Alter the sysprof-cli dependencies to only attempt to link against
  polkit-agent, if necessary. Modify sysprof-cli.c to wrap all code using
  polkit-agent in HAVE_POLKIT_AGENT blocks.
2024-08-20 20:46:11 +02:00
9276012c2b Update Russian translation 2024-08-19 13:33:32 +00:00
54295a1466 libsysprof: port GPtrArray sort to gtk_tim_sort() 2024-08-16 12:50:21 -07:00