Commit Graph

73 Commits

Author SHA1 Message Date
1bfdcca9d1 build: Update bug report define in meson.build
GitLab!

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2020-06-25 14:58:42 +01:00
4a2aaf7ebd bump version for development 2020-03-13 10:18:51 -07:00
dcaeba54ee release 3.36.0 2020-03-06 14:03:33 -08:00
82c2ee5a73 build: fix building in jhbuild
Not sure why we are hitting this, but we are so just force it to work.
2020-03-06 13:43:15 -08:00
a6c39af553 preload: move to libdir from libexecdir
This isn't an executable, it just belongs in libdir.
2020-03-05 15:46:03 -08:00
d6fef722a0 build: add meson subproject with libdazzle.wrap
When building on older systems such as RHEL 7, it can be convenient
to have access to libdazzle directly.

This also has to work around a problem that RHEL 7 does not support
the version of git that Meson requires for [wrap-git] by using a
specific release.
2020-03-02 11:35:14 -08:00
0add5eb035 release 3.35.92 2020-02-28 09:27:40 -08:00
5b88e9c3aa build: check for unw_set_cache_size()
This may not be available on older libunwind versions such as 1.2.
2020-02-20 11:22:56 -08:00
454b192a19 build: relax GLib requirement to 2.56 2020-02-20 11:08:26 -08:00
cd8a99402f build: fallback to __sync_synchronize()
If we're running on a GCC older than 4.9, then we won't have the
stdatomic.h available. We can just use a full barrier instead using
__sync_synchronize() to get the same effect, albeit slower.
2020-02-20 10:38:35 -08:00
e06638d665 build: make libunwind optional 2020-02-17 12:02:44 -08:00
33c81a3a9c memprof: add memory profiling using LD_PRELOAD
This brings over some of the techniques from the old memprof design.
Sysprof and memprof shared a lot of code, so it is pretty natural to
bring back the same callgraph view based on memory allocations.

This reuses the StackStash just like it did in memprof. While it
would be nice to reuse some existing tools out there, the fit of
memprof with sysprof is so naturally aligned, it's not really a
big deal to bring back the LD_PRELOAD. The value really comes
from seeing all this stuff together instead of multiple apps.

There are plenty of things we can implement on top of this that
we are not doing yet such as temporary allocations, cross-thread
frees, graphing the heap, and graphing differences between the
heap at to points in time. I'd like all of these things, given
enough time to make them useful.

This is still a bit slow though due to the global lock we take
to access the writer. To improve the speed here we need to get
rid of that lock and head towards a design that allows a thread
to request a new writer from Sysprof and save it in TLS (to be
destroyed when the thread exits).
2020-02-07 19:00:33 -08:00
21fc5609f2 build: ignore post-install unless gtk app is installed 2020-02-07 11:04:03 -08:00
aee8bb12c8 build: add -Wl,-z,relro -Wl,-z,defs and -Wl,-z,now link flags 2020-01-31 09:13:01 -08:00
e727ad5333 release 3.35.3 2020-01-02 12:15:11 -08:00
c074971173 Release 3.35.2 2019-12-11 10:50:23 -08: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
af2251b48d build: drop glib requirement
This isn't needed to maintain compatibility.

b624ec8809 (note_636631)
2019-10-31 11:07:55 -07: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
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
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
6e6967c0a9 release 3.33.92 2019-09-04 15:19:37 -07:00
d13f22416f build: require meson 0.50
Keep this a bit more modern so that we afford ourselves some additional
features during micro releases.
2019-09-04 15:16:31 -07:00
e3bcf81b45 build: fix version check 2019-09-04 10:29:35 -07:00
93355ce3fc Require GLib 2.62
g_date_time_format_iso8601 was introduced in this version.
2019-09-03 15:45:05 +02:00
cc9c6c1dc8 Release 3.33.90 2019-08-08 16:12:39 -07:00
d982e863f3 release 3.33.4 2019-08-01 00:38:44 -07:00
572bfc8844 prepare 3.33.3 release 2019-06-25 14:28:26 -07:00
af2a17daa5 polkit: try harder to make polkit optional on non-Linux
We want the viewer to be usable on Mac/Windows/FreeBSD, even if our
profiler tooling isn't (yet).

Another option could be to do a simplified viewer window for those
platforms, but I think that is more work to maintain than abstracting
some of the stuff better in libsysprof.
2019-06-04 14:28:06 -07:00
047442aa1b build: make some dependencies optional based on config options 2019-06-03 12:28:37 -07:00
dbb6b9143f examples: add example app for marks 2019-06-03 11:39:56 -07:00
0a81d1a93d libsysprof: lower dazzle requirement 2019-05-29 16:47:34 -07:00
7c75210748 build: bump version number for new features
This will let us more strictly check things from Builder.
2019-05-29 15:18:59 -07:00
88bf04cb37 tools: add polkit agent to sysprof-cli
The goal for this is to be able to not use sudo to authenticate the user
and elevate privileges.
2019-05-29 15:13:01 -07:00
2212650b00 build: add libdazzle dependency
Now that libdazzle can compile on gtk+-3 3.22 again, we can use it and
still keep things working on Debian stable, RHEL, etc.
2019-05-29 15:13:00 -07:00
61f01802f0 build: fix old polkit check 2019-05-29 15:13:00 -07:00
623d7ad027 build: cleanup dependency checking
We always require polkit now, so that we can fallback when we fail to
communicate with the peer.
2019-05-29 15:13:00 -07:00
479de6cd92 build: bump API version 2019-05-29 15:13:00 -07:00
e77310a511 build: update some dependency versions
These might give us a chance to work on Debian stable.
2019-05-29 15:12:59 -07:00
821fc286b8 build: cleanup visibility for symbols 2019-05-29 15:12:59 -07:00
394772cb01 build: reduce GLib requirement
We can probably even do this further, but I want to do a bunch of
tree moderniziation first.
2019-05-29 15:12:59 -07:00
94ce3dd648 build: bump C++ requirement 2019-05-29 15:12:59 -07:00
1708ad1b48 tree: start on massive tree refactor
The big thing going on here is that we are going to split up the libraries
a bit better, and remove GObject from the capture library. The libsysprof
library will bring in the capture library statically, so we can export the
symbols we want.

Eventually, we will bump the version to sysprof-3, but not yet.
2019-05-29 15:12:59 -07:00
bffd4c63d5 release 3.32.0 2019-03-13 00:20:19 -07:00
1876dba50d release 3.31.91 2019-02-18 18:22:31 -08:00
d852c3e7ac release 3.31.90 2019-02-07 12:27:28 -08:00
fd395eb067 build: Check relro support using cc.has_link_argument
Meson 0.46 added cc.has_link_argument, which allows us to get rid
of the cc.links hack.
2018-10-16 19:48:42 +02:00
be185c2fbc theme: add development highlight to headerbar 2018-10-15 18:57:13 -07:00