Commit Graph

18 Commits

Author SHA1 Message Date
4ad44609d0 build: remove optional support for libunwind
backtrace() was only ever used for bringup, not actually meant to be used
in any production capacity.
2023-08-11 12:22:57 -07:00
4927e75b0b meson: fix future deprecation warning 2023-07-28 14:05:36 -05:00
dbb7833cbf libsysprof: join libsysprof-analyze and libsysprof-profile
This brings together the two libraries back into one now that the whole
design is pretty well sorted out. They depend on roughly the same libraries
anyway and it's way easier of the single library can both read and write
the capture files (along with bringing in libsysprof-capture symbols in
a single place).
2023-07-19 17:40:41 -07:00
1fba250444 build: drop legacy v2 service and simplify build system
This removes -Dagent and just uses -Dtools as it only affects sysprof-cli
and sysprof-agent. We still need to patch sysprof-cli for recent changes
as we did for sysprof-agent though.

Additionally, we haven't used the v2 service in forever, so drop that as
I can't imagine anyone has been using it.
2023-07-17 15:11:10 -07:00
12e75e4c8c build: remove libsysprof
This library is going away now that we have -analyze and -profile libs.
2023-07-17 11:38:25 -07:00
a9774999d8 Merge branch 'wip/chergert/install-agent-by-default' into 'master'
build: enable sysprof-agent by default (-Dagent=true)

Closes #80

See merge request GNOME/sysprof!53
2022-07-28 08:26:59 +00:00
099330db90 build: allow disabling installation of static libraries 2022-07-22 13:43:54 -07:00
97633fd011 build: use -Ddevelopment=true to set DEVELOPMENT_BUILD
And also, we use it as #ifdef, so never define it as 0.
2022-07-22 12:53:51 -07:00
3b381d88a3 build: enable sysprof-agent by default (-Dagent=true)
This enables sysprof-agent by default to ensure that we are getting built
in places that really should have it without packager intervention.

Fixes #80
2022-07-22 11:44:54 -07:00
723072b86a build: default -Dagent=false
That way we don't break any CI out there which hasn't disabled it.
2022-07-21 18:58:23 -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
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
e8790bc3d6 build: Add more Meson options for disabling parts of the build
This is all aimed at making it so that sysprof can be built as a
subproject within GLib, with only `libsysprof-capture-4.a` being
produced as output.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2020-07-03 22:01:33 +01:00
e06638d665 build: make libunwind optional 2020-02-17 12:02:44 -08:00
5630e1680f build: add -Dlibsysprof option
This gets us closer to being able to only build the capture static library
2019-06-03 12:26:25 -07:00
9fcb759b52 build: make help optional
This isn't necessary for command line tooling and such.
2019-05-29 15:12:59 -07:00
a48887a25c build: document more of meson_options.txt 2019-05-07 14:50:48 -07:00
52bc856be4 build: Add support for Meson 2016-12-01 02:34:11 -05:00