460df56fa5
visualizers: clear selected row when showing details
...
The details don't correspond to any selected row, so clear the row when
we switch to the details page.
2020-01-23 12:36:04 -08:00
bcfaa6caa8
perf: use task-ids instead of pids
...
The pids might overlap, which isn't that useful for us when we are creating
threads. Instead use the task-ids (which should basically overlap anyway).
2020-01-23 12:26:18 -08:00
731b6dd379
sysprof: allow passing program path to sysprof
...
If the path provided to us is an executable program (instead of a syscap
file) then we can setup the path as the binary to execute in the profiler
assistant and save the user a couple clicks.
2020-01-23 11:59:50 -08:00
599ecaebe1
display: remove unused variable
2020-01-23 11:59:50 -08:00
ddd6a66f35
Updated Spanish translation
2020-01-23 12:55:34 +01:00
7dad1f2ab4
marks: add end time to mark details
2020-01-22 12:01:26 -08:00
812b0d60a0
counters: use counter description in menu item
2020-01-21 21:06:41 -08:00
b29ee9e2cc
flatpak: update org.gnome.Sysprof3.json
...
This gets things building again on updated SDK/Platform.
2020-01-21 11:27:43 -08:00
61da1bbd9e
Update Indonesian translation
2020-01-14 12:58:10 +00:00
33619b4240
Update Indonesian translation
...
(cherry picked from commit 558b264ade297421cb1f1f9ac4e59d0f7b714977)
2020-01-13 08:08:50 +00:00
db160cf536
ui: avoid concurrent reloads of stack depths
...
This ensures that we only have one thread doing reloads of stack frame
depths at a time. While we only ref the reader in the state, it should
still be fine because cursors *always* make a copy of the reader for their
internal use. I don't think this should fix #23 , but it may reduce the
chances of it happening.
It's unclear to me what could cause #23 to happen, unless for some reason
multiple threads were sharing the reader's internal buffer causing the
frame-> dereferences to be junk. But as stated with reader copies, that
should not be able to happen.
Another possible avenue is that the task is cancelled and for some reason
the task is clearing the task data while the thread is running. Again,
that is not supposed to be possible given the design of GTask as it
should not release task data until finalized.
2020-01-08 11:13:24 -08:00
bd2da8baa0
ui: use g_atomic_rc_box
...
This changes a couple of our structures to use the atomic rc box instead
of gslice directly. It shouldn't affect anything, just some general
modernization while looking at #23
2020-01-08 11:00:54 -08:00
e727ad5333
release 3.35.3
2020-01-02 12:15:11 -08:00
c4eaa53f20
libsysprof: handle bus/proxy failure gracefully
2020-01-02 10:31:12 -08:00
a72b0c1660
Merge branch 'fix-tests' into 'master'
...
Fix tests
Closes #7 and #21
See merge request GNOME/sysprof!21
2020-01-02 18:12:06 +00:00
8a86d5f1a0
test: Fix detection of pagesize at runtime
...
Not all architectures have a page size of 4k, detect it at runtime
Fix: https://gitlab.gnome.org/GNOME/sysprof/issues/21
2020-01-02 12:44:27 +01:00
994b0535ef
Fix endianness detection when writing a frame
...
Properly detect endianness at compilation time
This fixes the tests on big-endian machines
Fix: https://gitlab.gnome.org/GNOME/sysprof/issues/7
2020-01-02 12:44:15 +01:00
0787b8fa64
Merge branch 'gbsneto/fix-rpi4-crash' into 'master'
...
details-page: Protect against NULL line
See merge request GNOME/sysprof!20
2019-12-30 18:15:42 +00:00
a67701848d
details-page: Protect against NULL line
...
On a Raspberry PI 4, Sysprof crashes immediately when
trying to memchr() on the 'line' variable. The current
RPI4 support is poor on Linux mainline admitedly, but
having Sysprof to work on it at least gives us a chance
to profile the major bottlenecks.
Protect against NULL 'line'.
2019-12-30 14:03:15 -03:00
5388267e04
Update Polish translation
2019-12-25 16:39:23 +01:00
cd1bd816f6
Update Swedish translation
2019-12-16 11:05:27 +00:00
fd898d0fb2
Update Brazilian Portuguese translation
2019-12-14 11:56:50 +00:00
65aff45d5c
Updated Spanish translation
2019-12-13 12:25:28 +01:00
b56cd73308
fix typo
...
Fixes #20
2019-12-12 12:39:28 -08:00
c1f5306a84
Update Swedish translation
...
(cherry picked from commit d21a895f375decff7e8ad447cf6d03800f803451)
2019-12-12 13:58:29 +00:00
c074971173
Release 3.35.2
2019-12-11 10:50:23 -08:00
489b70aa27
Add Greek translation
...
(cherry picked from commit f5effc758de0d164984f9049050bc5d7dc1fac65)
2019-12-08 20:22:50 +00:00
7f1f86f82c
Merge branch 'datadir-in-pc' into 'master'
...
build: add datadir to pkgconfig files
See merge request GNOME/sysprof!19
2019-12-04 23:09:55 +00:00
653ff6ba9e
build: add datadir to pkgconfig files
...
Mutter wants sysprof's exact dbus interface directory during build time
* https://gitlab.gnome.org/GNOME/mutter/blob/master/src/meson.build#L714
On certain platforms mutter's datadir != sysprof's datadir.
This is initial work for a forthcoming PR to do
```
sysprof_dep.get_pkgconfig_variable('datadir')
```
in mutter for compatibility with these platforms.
This patch is on behalf of nixpkgs where we actually have to carry a
downstream patch [0] for this exact reason. We install everything into
their own immutable prefix under `/nix/store`.
[0]: a821167046/pkgs/desktops/gnome-3/core/mutter/0001-build-use-get_pkgconfig_variable-for-sysprof-dbusdir.patch
2019-12-04 17:17:58 -05:00
4d4833fd71
Update Spanish translation
...
(cherry picked from commit 49db9311d516aaef1f84c613b1eca73d24284cad)
2019-11-25 11:43:22 +00:00
ae12230b11
Update Brazilian Portuguese translation
...
(cherry picked from commit 17c0161d32e5f2aeb1e5ad9cf19f997237581170)
2019-11-25 01:19:00 +00:00
978579dda8
Merge branch 'piotrdrag/dl-hack' into 'master'
...
build: add a hack for Damned Lies
See merge request GNOME/sysprof!18
2019-11-23 18:14:45 +00:00
e15419a346
build: add a hack for Damned Lies
...
if conditions are confusing for Damned Lies,
so add a non-installed 18n.gettext before it.
Idea borrowed from 21ff7337f2
See https://gitlab.gnome.org/Infrastructure/damned-lies/issues/150
2019-11-23 16:42:31 +01:00
17624ecb18
Update Indonesian translation
...
(cherry picked from commit 21c10c107fa50cc604ea2e84d23d94bfdbe83aeb)
2019-11-15 04:35:04 +00:00
af2251b48d
build: drop glib requirement
...
This isn't needed to maintain compatibility.
b624ec8809 (note_636631)
2019-10-31 11:07:55 -07:00
8a32891c66
Merge branch 'fix-unixfd-annotations' into 'master'
...
Fix org.gtk.GDBus.C.UnixFD annotations
See merge request GNOME/sysprof!16
2019-10-31 16:54:37 +00:00
6584fcd286
Fix org.gtk.GDBus.C.UnixFD annotations
...
The annotation applies to the method as a whole, not to individual
arguments, so the existing annotations don't have any effect.
This was hidden by gdbus-codegen's automatic handling of arguments
of type 'h', but that change was reverted, resulting in a broken
build.
2019-10-31 17:10:48 +01:00
b624ec8809
build: track changes to GLib and gdbus-codegen
...
GLib is already doing this, which broke a number of auto-generated code.
This tracks those changes and manually sets the annotations so that we
are guaranteed to get this behavior.
We'll need to fix other uses (such as in Mutter), but we have to do that
already because of the change in GLib.
Fixes #17
2019-10-30 14:46:20 -07:00
73dc39329a
libsysprof-ui: avoid use of environ for -Werror=shadow
...
Fixes #18
2019-10-21 11:35:42 -07:00
9e4eae1a79
Update Basque translation
2019-10-20 08:59:55 +00:00
189505be64
build: only install some files when option is enabled
...
Fixes #16
2019-10-15 14:49:57 -07:00
b7e2601a93
bump for development
2019-10-15 14:42:45 -07:00
15acfe0e3a
release sysprof 3.34.1
2019-10-07 13:01:05 -07:00
1d445c4fad
sysprof-ui: add missing filtering of processes
...
The search implementation here is pretty barebones, but at least it gets
things working again after the fallout from the redesign.
Fixes #15
2019-10-07 12:57:50 -07:00
ee32407b28
Release 3.34.0
2019-09-09 18:00:24 -07:00
c1ac19d00d
build: whitespace cleanup
2019-09-09 17:58:42 -07:00
a2f99c7be5
build: set NO_AT_BRIDGE=1 when running automated tests
2019-09-09 17:58:17 -07:00
0ea1948069
help: Add missing page title element to pass validation
2019-09-07 13:35:24 +02:00
5942d39b6a
Update Spanish translation
...
(cherry picked from commit 5b0fc627e034b37bd1bd31bb40a130394b5fd4f8)
2019-09-06 14:16:14 +00:00
6e6967c0a9
release 3.33.92
2019-09-04 15:19:37 -07:00