mirror of
https://github.com/brl/mutter.git
synced 2024-09-12 10:35:54 -04:00
![Jonas Ådahl](/assets/img/avatar_default.png)
Add the ability to add tracing instrumentation to the code. When enabled, trace entries will generate a file with timing information that will be processable by sysprof for generating visualization of traces over time. While enabled by default at compile time, it is possible to disable the expansion of the macros completely by passing --disable-tracing to ./configure. Tracing is so far only actually done if actually enabled on explicitly specified threads. This will be used by Mutter passing the write end of a pipe, where the read end is sent to Sysprof itself via the D-Bus method 'Capture()'. By passing that, we have to detect EPIPE that is sent when Sysprof stops recording. Fortunately, we already ignore the signal at meta_init(), so no need to add a custom signal handler. https://gitlab.gnome.org/GNOME/mutter/merge_requests/197
66 lines
1.5 KiB
Plaintext
66 lines
1.5 KiB
Plaintext
/* The prefix for our gettext translation domains. */
|
|
#mesondefine GETTEXT_PACKAGE
|
|
|
|
/* Version number of package */
|
|
#mesondefine VERSION
|
|
|
|
/* Version number of package */
|
|
#mesondefine PACKAGE_VERSION
|
|
|
|
/* Search path for plugins */
|
|
#mesondefine MUTTER_PLUGIN_DIR
|
|
|
|
/* */
|
|
#mesondefine MUTTER_LOCALEDIR
|
|
|
|
/* */
|
|
#mesondefine MUTTER_LIBEXECDIR
|
|
|
|
/* */
|
|
#mesondefine MUTTER_PKGDATADIR
|
|
|
|
/* Defined if EGL support is enabled */
|
|
#mesondefine HAVE_EGL
|
|
|
|
/* Defined if EGLDevice support is enabled */
|
|
#mesondefine HAVE_EGL_DEVICE
|
|
|
|
/* Defined if EGLStream support is enabled */
|
|
#mesondefine HAVE_WAYLAND_EGLSTREAM
|
|
|
|
/* Building with gudev for device type detection */
|
|
#mesondefine HAVE_LIBGUDEV
|
|
|
|
/* Building with libwacom for advanced tablet management */
|
|
#mesondefine HAVE_LIBWACOM
|
|
|
|
/* Define if you want to enable the native (KMS) backend based on systemd */
|
|
#mesondefine HAVE_NATIVE_BACKEND
|
|
|
|
/* Define if you want to enable Wayland support */
|
|
#mesondefine HAVE_WAYLAND
|
|
|
|
/* Defined if screen cast and remote desktop support is enabled */
|
|
#mesondefine HAVE_REMOTE_DESKTOP
|
|
|
|
/* Building with SM support */
|
|
#mesondefine HAVE_SM
|
|
|
|
/* Building with startup notification support */
|
|
#mesondefine HAVE_STARTUP_NOTIFICATION
|
|
|
|
/* Building with Sysprof profiling suport */
|
|
#mesondefine HAVE_TRACING
|
|
|
|
/* Path to Xwayland executable */
|
|
#mesondefine XWAYLAND_PATH
|
|
|
|
/* Xwayland applications allowed to issue keyboard grabs */
|
|
#mesondefine XWAYLAND_GRAB_DEFAULT_ACCESS_RULES
|
|
|
|
/* XKB base prefix */
|
|
#mesondefine XKB_BASE
|
|
|
|
/* Default rules for allowing Xwayland grabs */
|
|
#mesondefine XWAYLAND_GRAB_DEFAULT_ACCESS_RULES
|