Commit Graph

1138 Commits

Author SHA1 Message Date
3002640c50 build: use app-id to determine installed icon
This means we don't install org.gnome.Sysprof.svg anymore when building
with -Ddevelopment=true (and vice versa). We do use org.gnome.Sysprof.svg
from libsysprof-ui, but that embeds the appropriate resources.
2022-07-22 13:13:59 -07:00
4b68b9180b build: define APP_ID and APP_ID_S in config.h
This allows us to change the app-id in sysprof based on the configuration
so that nightlies do not get the same app-id as regular builds.
2022-07-22 12:54:31 -07:00
1945660912 build: move application id to org.gnome.Sysprof
We use org.gnome.Sysprof3 for the sysprofd daemon, but we need not
complicate the application with such an application id.
2022-07-22 12:24:42 -07:00
0dc0a5b3de build: fix -Dagent=true -Dlibsysprof=false
The agent is statically linked so that it doesn't require using a properly
working libsysprof to be installed. This ensures that it continues to build
properly in that case so it can be used from org.gnome.Sdk.
2022-07-22 11:54:42 -07:00
c3035efd52 tools: add -Dagent=true option
This also builds the agent statically with libsysprof_static_dep since
we'd need that to avoid installing libsysprof when that isn't wanted.
It also ensures the LD_PRELOAD libraries are installed for use by the
agent.
2022-07-21 18:35:35 -07:00
dc829087d4 tools: add sysprof-agent
This is a program that can be communicated with over private D-Bus using
pipes to control a process. It is useful in an automated fashion from
tooling such as Builder.

This allows, when installed into SDKs like GNOMEs, to profile from inside
the container rather than from the outside. Such is useful when you need
to ensure you have access to LD_PRELOAD/etc within the context.
2022-07-21 18:28:18 -07:00
e772197253 libsysprof: add signals for spawn/exit/term of subprocess
This is useful so that we can know when a subprocess has spawned by the
profiler in tooling which allows sysprof to spawn a process and monitor
said process. Additionally, we need to know when it exits so that we can
be correct in when we can call get_if_exited() from tooling.
2022-07-21 11:53:14 -07:00
d3076d1161 libsysprof: and always emit finished 2022-07-20 16:28:06 -07:00
5a88d5a0a1 libsysprof: handle NULL governor case gracefully 2022-07-20 16:25:09 -07:00
JMS
16a456a8dd Use AdwAboutWindow 2022-07-16 21:23:57 +00:00
d8b2dee297 libsysprof-ui: cleanup failed state view 2022-07-11 13:11:22 -07:00
475cd45fe4 sysprof: use gtk widget actions for window 2022-07-11 13:11:09 -07:00
0be07b989e libsysprof-ui: remove grid include from assistant 2022-07-11 13:04:54 -07:00
c9eb230cb2 sysprof: set default window width 2022-07-11 12:55:18 -07:00
c6ae3221a1 libsysprof-ui: use adwaita rows for assistant
This isn't exactly ideal in our use, but it's transitionary so that we
can get rid of the EggThreeGrid which is very out of place in a libadwaita
world.
2022-07-11 12:55:12 -07:00
dd7d080642 libsysprof-ui: be more specific in environment label 2022-07-11 12:52:02 -07:00
672a15b734 libsysprof-ui: make aid icons smaller 2022-07-11 12:51:50 -07:00
757d36ae8e Cleanup the build a bit
Makes the Meson build a little bit better and cleans up some of the
formatting.
2022-05-25 14:07:02 -05:00
808b957682 libsysprof-ui: fix can-replay notification
Otherwise we don't get this until we switch tabs.
2022-05-18 15:53:57 -07:00
aae829741e libsysprof-ui: avoid splashing the assistant view 2022-05-17 15:45:59 -07:00
14a1a2f8df libsysprof-ui: fix spread of left-side paned 2022-04-02 15:12:10 -07:00
7f9599bd3e libsysprof-ui: fix missing toggle button usage 2022-04-01 17:12:52 -07:00
e9516fb202 stackstash: ignore dangling-pointer warning in do_callback
As previously asserted, this just squashes the annoying warnings coming
from GCC.
2022-04-01 17:08:42 -07:00
8ed6af618b stackstash: add assertions before silencing warnings
GCC warns about dangling pointers here, which is completely fine given
how this code works.
2022-04-01 17:04:27 -07:00
9c98b10fee build: remove deprecated meson feature 2022-04-01 16:56:32 -07:00
17d2c16957 libsysprof-ui: make the boxes fit in scrollmap better 2022-04-01 16:48:18 -07:00
39a6fe3466 libsysprof-ui: remove unnecessary box from hierarchy 2022-04-01 16:39:50 -07:00
fa88603024 egg-resizer: ignore unset drag positions 2022-04-01 16:39:02 -07:00
846c59a874 libsysprof-ui: remove some unnecessary properties 2022-04-01 16:32:43 -07:00
b8bfc5c516 libsysprof-ui: fix positioning of instruments label 2022-04-01 16:32:23 -07:00
79fe38a832 libsysprof-ui: cleanup display ui properties 2022-04-01 16:21:19 -07:00
2b9c24497b libsysprof-ui: remove dead size_allocate code
This is never getting run because there is a layout manager.
2022-04-01 16:20:49 -07:00
23e128d1a0 libsysprof-ui: fix alignment of visualizers to ticks 2022-04-01 14:21:42 -07:00
6ccf961829 libsysprof-ui: fix drawing of selections 2022-04-01 14:20:12 -07:00
8a73f72f97 libsysprof-ui: fix infloop in measurements
Apparently the box margin seems to be causing issues with boxlayout.
2022-04-01 14:09:31 -07:00
df0ff1449d libsysprof-ui: fix compilation warning 2022-04-01 14:09:31 -07:00
31201aef63 libsysprof-ui: cleanup marks page 2022-04-01 14:09:31 -07:00
b048b78429 libsysprof-ui: cleanup builder ui style a bit
We can remove lots of things and be more consistent with conventions.
2022-04-01 14:09:31 -07:00
6bb18a8f8c callgraphpage: fix right/left arrow handling
This was working, but signal signature was wrong.
2022-04-01 13:17:15 -07:00
d26f1d8d75 memprofpage: fix togglebuttons and panels 2022-04-01 13:17:12 -07:00
2f7d133d5a notebook: fix discovery of empty displays 2022-04-01 13:16:35 -07:00
4c7a6b8311 display: fix removal of pages 2022-04-01 13:16:35 -07:00
77ee8f3c81 callgraphpage: set loading page as default 2022-04-01 13:16:35 -07:00
93b37f9c3f visualizersframe: fix cursor to visualizers area 2022-04-01 13:16:35 -07:00
6ebedd4f06 threegrid: use layout manager to layout three grid
There is still some work that needs to be done to fix the baseline for
each row.
2022-04-01 13:16:35 -07:00
6be7087c74 libsysprof-ui: clean up and remove child widgets 2022-04-01 13:16:35 -07:00
f4b8dccb52 display: remove stack on dispose 2022-04-01 13:16:35 -07:00
9ebcb78bfa application: fix close-request signal 2022-04-01 13:16:35 -07:00
22aefaa2c1 resizer: fix warnings 2022-04-01 13:16:35 -07:00
8e9497b277 libsysprof-ui: use EggPaned 2022-04-01 13:16:35 -07:00