summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2019-05-29 19:02:30 -0700
committerChristian Hergert <chergert@redhat.com>2019-05-29 19:02:30 -0700
commit3a0beeadc5881a19a66bfcff7174fdad6f906158 (patch)
tree60e937d3c24fdaf138a87791d0faad9be967b1d4 /meson_options.txt
parent853e83270299bd05d85afc7572558e6c1fb41bed (diff)
downloadgtk+-3a0beeadc5881a19a66bfcff7174fdad6f906158.tar.gz
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.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
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',