Commit Graph

4416 Commits

Author SHA1 Message Date
1612707d21 sysprof: Add filters popover
This allows visualizing currently applied filters, and remove individual
and all filters applied.

Currently the only filter that can show up is the mark filter, but in
the future new filters may be applied.
2025-03-26 14:43:31 -03:00
d80188f019 sysprof: Implement markchartrow.filter-by-mark action
This finally allows setting a session-wide mark filter.
2025-03-26 14:43:31 -03:00
23dacf954d sysprof: Add sysprof_session_filter_by_mark
This will be used to set a global marks filter in the session filter.
2025-03-26 14:43:31 -03:00
02b1d9603b sysprof: Add stub context menu to SysprofMarkChartRow
This will expose the action to set this row's mark catalog as a session
filter.
2025-03-26 14:43:31 -03:00
fb30dd2300 sysprof: Move GtkInscription to SysprofMarkChartRow
No functional changes.
2025-03-26 14:43:31 -03:00
c73f4fa40d sysprof: Apply session filter to sample's scrubber
So that the actual filtered samples are properly represented in the
time scrubber. This will be useful for filtering by marks.
2025-03-26 14:43:31 -03:00
d637c55214 sysprof: Introduce SysprofMarkFilter
It's a GtkFilter implementation that takes a marks catalog, and filters
frames based on whether the timestamps of the frames hit any mark in
the catalog.

Internally this uses an augmented RB tree based on sys/tree.h. The
augment is a timestamp interval. This tree is used to store the mark
intervals and perform the hit test.

This can probably be optimized / improved by building the tree on
demand but as is, this code seems to be able to handle dozens of
thousands of marks without any visible choke.
2025-03-26 14:43:31 -03:00
a7afaf5559 libsysprof: move tree.h to contrib/
Soon src/sysprof will use it as well.
2025-03-26 14:43:22 -03:00
5e1dfa47db Update British English translation 2025-03-19 20:39:42 +00:00
19547e96e6 DESIGN.md: add some information on how sysprof is built 2025-03-17 18:47:08 -07:00
05dface80a Merge branch 'wip/hppa' into 'master'
mapped-ring-buffer: Round to the shared memory boundary on hppa

See merge request GNOME/sysprof!127
2025-03-18 01:31:25 +00:00
745c5c28c4 build: add check for asm/perf_regs.h
Related: #127
2025-03-17 18:28:19 -07:00
5dac046f2f contrib/elfparser: be a bit more defensive
Related: #139
2025-03-17 17:52:35 -07:00
b129c7dea2 mapped-ring-buffer: Round to the shared memory boundary on hppa
In map_head_and_body_twice(), the second mmap call fails:

mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0xf64a2000
mmap2(0xf64b3000, 65536, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_FIXED, 3, 0x1000) = -1 EINVAL (Invalid argument)

Due to cache issues, all shared mapping of a page must be equivalently
mapped.  This requires page mappings to be at the same virtual address
modulo 4 MB.  Due to a kernel limitation, all mappings to a file must
be equivalent.

The test can be fixed by rounding the buffer_size used in the mapped
ring buffer to 4 MB on hppa.  This makes the two mmap mappings equivalent.

Bug-Debian: https://bugs.debian.org/1021853
2025-03-17 11:53:28 -04:00
8ee813c9a9 Updated Spanish translation 2025-03-17 11:06:11 +01:00
f4edefb44e Post-release version bump 2025-03-15 12:45:32 -07:00
392c6e9687 Release 48.0 2025-03-15 12:45:16 -07:00
3d3694025f Update Swedish translation 2025-03-12 16:25:51 +00:00
289ed176c3 Update Catalan translation 2025-03-12 14:20:44 +00:00
c563334707 Update Indonesian translation 2025-03-12 09:51:21 +00:00
ce5db32c94 Update Nepali translation 2025-03-12 05:05:57 +00:00
001c7ea15a Release 48.rc
A little late but should help distributions doing integration.
2025-03-11 10:12:20 -07:00
dc698e6d5b Update Turkish translation 2025-03-10 11:51:39 +00:00
af3daadbdd Merge branch 'varunrmallya/issue136' into 'master'
Adds persistence to environment variables

See merge request GNOME/sysprof!125
2025-03-09 17:28:08 +00:00
4e372c6497 Update Danish translation 2025-03-09 01:34:45 +00:00
9cf22bc906 sysprof-greeter: fix memory leak in sysprof_greeter_create_profiler
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
2025-03-07 14:16:28 +05:30
0a5ee18a39 Update Catalan translation 2025-03-06 22:01:20 +00:00
8186cc464a sysprof-greeter: optimize environment variable handling in profiler creation
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
2025-03-06 17:57:01 +05:30
79fb1221a9 Merge branch 'line_layer_fix' into 'master'
sysprof/chart: Translate origin of child chart layer

Closes #126

See merge request GNOME/sysprof!123
2025-03-06 01:45:48 +00:00
3950c486d4 Update Hungarian translation 2025-03-06 01:17:47 +00:00
516956e3e7 Update Hungarian translation 2025-03-05 21:35:23 +00:00
0aae18d583 Update French translation 2025-03-05 18:27:53 +00:00
17152e3a5d Update Hungarian translation 2025-03-05 18:24:12 +00:00
8813be055e Updated Spanish translation 2025-03-05 17:04:53 +01:00
157963e15e Update Czech translation 2025-03-04 12:12:23 +00:00
580b31b19a Update Czech translation 2025-03-04 11:50:26 +00:00
3b2aa696f2 Update Lithuanian translation 2025-03-02 20:31:10 +00:00
290839516e Update Korean translation 2025-03-02 06:35:51 +00:00
95f75ad0ed Update Basque translation 2025-03-01 15:37:52 +00:00
289e7970d3 Update Galician translation 2025-02-28 12:00:05 +00:00
65272cfd6e Update Portuguese translation 2025-02-27 21:11:43 +00:00
0e0bc32578 Update Hebrew translation 2025-02-27 07:51:46 +00:00
c2fe74e83e Update Brazilian Portuguese translation 2025-02-27 02:04:54 +00:00
775d7ae5eb sysprof-greeter: refactor environment variable handling in profiler creation
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
2025-02-26 23:24:20 +05:30
af66201c1b Update Chinese (China) translation 2025-02-25 01:52:06 +00:00
2742863222 Update Catalan translation 2025-02-24 19:36:08 +01:00
5a2e7fc7c0 Update Persian translation 2025-02-24 16:36:22 +00:00
586faa5473 Update Ukrainian translation 2025-02-24 14:26:48 +00:00
057926e800 Merge branch 'AsciiWolf-master-patch-27089' into 'master'
appdata: Fix developer id

See merge request GNOME/sysprof!124
2025-02-23 21:07:38 +00:00
dd235da361 appdata: Fix developer id
It should be in rDNS format
2025-02-23 19:36:41 +00:00