Commit Graph

2525 Commits

Author SHA1 Message Date
fd67844d8b sysprof: put recording pad contents in a window handle
So that it can be dragged around easier by users.
2024-08-06 14:14:30 -07:00
a4c92033a2 sysprof: fix color array initialization 2024-07-26 23:05:24 +05:30
7435423c00 Merge branch 'coverity-fixes' into 'master'
fix coverity warnings

See merge request GNOME/sysprof!96
2024-07-26 13:48:34 +00:00
b08c19935f Merge branch 'ellipsis-symbol-window' into 'master'
window: Use ellipsis symbol

Closes #115

See merge request GNOME/sysprof!90
2024-07-26 13:47:28 +00:00
bfe55f46b2 libsysprof: fix size to copy 2024-07-26 16:58:21 +05:30
7780f3c786 sysprof: remove redundant NULL check 2024-07-26 15:52:33 +05:30
530b4a9d12 build: bump version requirements 2024-06-24 12:01:48 -07:00
339dc8f30e processes-section: Disable autocolor for timespan layers
There's only one in each row and they end up blue.
2024-06-24 02:10:27 +04:00
cb3171d7bb chart-layer: Redraw on css changes
Make sure we redraw it when system accent color changes.
2024-06-24 01:53:28 +04:00
3597106de8 style: Port to newer css machinery 2024-06-24 01:51:28 +04:00
618c4ac575 progress-cell: Simplify styles 2024-06-24 01:41:30 +04:00
3c655a6f3e libsysprof: add missing header for close function
This was detected by compiling against musl-libc
2024-03-18 22:18:52 +01:00
462343cd0f sysprof: add missing summary icon
We no longer get this from the icon theme.

Fixes #117
2024-03-15 13:53:40 -07:00
fb18cb4277 Merge branch 'initiative-51' into 'master'
Fix links

See merge request GNOME/sysprof!91
2024-03-15 20:10:18 +00:00
a15595026d Fix links 2024-03-15 19:58:59 +01:00
f6d519e453 sysprof: fix graphics page for gtk counters 2024-03-08 14:15:28 -08:00
c826dc5ec8 libsysprof: mark vulkan frame as graphics 2024-03-08 14:15:28 -08:00
d7eff5864b build: ensure symbols are exported for libsysprof-6
This fixes an issue where the symbols are not getting T as they are dropped
when pulling in the static archive.

This compiles twice, but that is fine for now until we come up with something
better in the long run.
2024-03-07 14:06:05 -08:00
21ecc9138f window: Use ellipsis symbol
Strings with ellipsis must use the ellipsis
symbol instead of three periods, as recommended
by HIG[1].

Closes https://gitlab.gnome.org/GNOME/sysprof/-/issues/115

[1] https://developer.gnome.org/hig/guidelines/typography.html
2024-03-06 15:17:15 -03:00
d2fd6c4a7f libsysprof: categorize GTK shader loading 2024-03-04 11:39:56 -08:00
2e28a45929 libsysprof: be explicit with integer comparison 2024-03-03 14:35:47 -08:00
bdcd499c8b Revert "build: fix post-freeze string breakage"
This reverts commit e5cc857464.

String freeze exception approved.
2024-03-01 09:42:40 -08:00
e5cc857464 build: fix post-freeze string breakage
Fixes #115
2024-02-28 10:19:38 -08:00
0fbac325b9 sysprof-cli: add option to specify additional d-bus to monitor 2024-02-27 17:08:06 -08:00
b4a592a020 Add test-cases that include sysprof headers into C++ code
Reproduces: https://gitlab.gnome.org/GNOME/sysprof/-/issues/114
Signed-off-by: Simon McVittie <smcv@debian.org>
2024-02-24 11:41:56 +00:00
36f4988ecc Conditionalize uses of C99 restrict keyword
This is part of C99, but not part of Standard C++, so it can't be used
unconditionally if the sysprof headers might get included into C++ code.

Resolves: https://gitlab.gnome.org/GNOME/sysprof/-/issues/114
Signed-off-by: Simon McVittie <smcv@debian.org>
2024-02-24 11:41:56 +00:00
5b9f8a3c81 window: use translator comment
Fixes #111
2024-02-19 10:36:40 -08:00
39d0579b05 libsysprof: relax number of device numbers
Fixes #113
2024-02-10 16:27:45 -08:00
15585d2803 libsysprof: improve symbol categorization a bit 2024-02-08 14:47:44 -08:00
802c298e95 libsysprof: allow hex for device major/minor
Noticed by Fabrice Bellet in #104
2024-02-06 12:02:40 -08:00
8bc77e5ba6 window: add context for "Left Heavy"
Fixes #111
2024-01-22 09:40:46 -08:00
9eca469402 categories: mark gtk_css_style_snapshot_* as as paint 2024-01-20 08:04:00 -08:00
bc92ead2f1 sysprof: clear column view models before chaining up dispose
This works around an issue caused by GNOME/gtk!6758 which has caused
an infloop of warnings trying to cleanup GtkColumnView.
2024-01-15 20:45:52 -08:00
5f013318c8 sysprof: allow 5000 samples in mark chart rows
This still seems to load dense data fine without reaching the maximum
GL command queue size.
2023-11-16 13:01:17 -08:00
32897e57f1 sysprof: add max-items property to marks chart
and bind it to the mark chart item so that we can tweak this from the ui
file as we deem neceessary.
2023-11-16 12:59:38 -08:00
5b7292b928 sysprof: sample items for mark chart row
This ensures that the row itself is filtered. I thought we had got this
done earlier but it did not apply to the marks in the series.
2023-11-16 12:49:39 -08:00
d0f132ee64 sysprof: use "pointer" cursor instead of "hand"
https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/251
2023-11-12 23:45:24 +07:00
0bed511430 libsysprof: demangle rust kernel symbols 2023-11-06 20:04:49 -08:00
d852115de1 libsysprof: fallback to software perf counters
If we fail to enable hardware perf counters, fallback to software perf
counters. This fixes Sysprof to work on Fedora Asahi.
2023-10-23 22:27:04 +00:00
c3070a478d sysprof: Add missing HIG shortcuts 2023-10-16 17:43:49 +00:00
e5e57f8ff5 libsysprof: fix format-literal warning
Fixes #99
2023-10-06 09:08:56 -07:00
403704293b libsysprof: fix unused warning 2023-10-06 09:08:38 -07:00
10c21f34a8 sysprof: limit marks section max sample count
Related: #101
2023-09-27 13:51:12 -07:00
37c2a527b4 libsysprof: be more defensive against oddly formed containers
If we get a container file that is in a format we don't quite understand,
avoid crashing and just bail. That will likely result in the inability
to symbolize properly, but better than crashing.

Fixes #100
2023-09-26 17:27:53 -07:00
684afeef57 build: fix release builds
We are dropping the micro component going forward.
2023-09-16 16:12:54 -07:00
45f88e3586 libsysprof: track some mutter abi changes 2023-09-07 19:19:02 -07:00
5dc4e83307 libsysprof: ignore swapper/# scheduler details
We "know" that the swapper runs between each process inherently so no need
to really include that in the scheduler details. It just clutters up the
event timeline. Without it, we're more likely to see patterns in the
scribbles.
2023-09-07 13:18:41 -07:00
6b34ea2118 libsysprof: fix merging of similar processes
We want the "similar process" key to be the argv[0] or something close
to it so that we can coalesce across processes with different arguments.
2023-09-01 14:26:10 -07:00
5f94e09f9c libsysprof: avoid duplicate process records
We want the first process record, but subsequent records should
be ignored, except that we want to take the appropriate comm[]
action from them.
2023-09-01 14:14:25 -07:00
30123284b6 libsysprof: use whole cmdline for process name
This is just more useful than artificially truncating it.
2023-09-01 13:35:39 -07:00