summaryrefslogtreecommitdiff
path: root/config.h.meson
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 /config.h.meson
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 'config.h.meson')
-rw-r--r--config.h.meson3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.meson b/config.h.meson
index 436e1a1501..e52badaede 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -130,6 +130,9 @@
/* Define to 1 if you have the <sys/param.h> header file. */
#mesondefine HAVE_SYS_PARAM_H
+#
+/* Have the sysprof-capture library */
+#mesondefine HAVE_SYSPROF_CAPTURE
/* Define to 1 if you have the <sys/stat.h> header file. */
#mesondefine HAVE_SYS_STAT_H