From 3a0beeadc5881a19a66bfcff7174fdad6f906158 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 29 May 2019 19:02:30 -0700 Subject: profiler: port GdkProfiler to sysprof-3 This uses the new sysprof-3 ABI to implement the capture writer. It also uses the statically linked libsysprof-capture-3.a that is provided with Sysprof for the capture writing to ensure that we do not leak any symbols nor depend on any additional libraries. The GTK_TRACE_FD can be used to pass a FD for tracing into Gtk. Sysprof uses this when the Gtk instrument is selected for recording. --- meson_options.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt index a189ee2cba..20dc5d0338 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -21,6 +21,8 @@ option('xinerama', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto description : 'Enable support for the Xinerama extension') option('cloudproviders', type: 'boolean', value: false, description : 'Enable the cloudproviders support') +option('profiler', type: 'boolean', value: false, + description : 'Enable profiler support') # Print backends option('print-backends', type : 'string', value : 'cups,file', -- cgit v1.2.1