mutter/cogl
Jonas Ådahl e5e58f8075
cogl: Add libsysprof capture based tracing
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
2019-05-31 11:55:56 -03:00
..
cogl cogl: Add libsysprof capture based tracing 2019-05-31 11:55:56 -03:00
cogl-gles2 build: Don't use absolute paths with subdir keyword 2019-03-18 12:37:14 +00:00
cogl-pango Use free_full on GSList's instead of foreach + free 2019-05-15 14:49:56 -05:00
cogl-path cogl-path: Undeprecate framebuffer functions 2019-05-27 22:48:19 +00:00
test-fixtures cogl: Remove unused TEXTURE_RECTANGLE feature flag 2019-04-18 12:53:28 -04:00
tests cogl/tests: Remove configure_file workaround for installed tests 2019-05-21 12:36:15 -05:00
.gitignore cogl-framebuffer: Remove swap_throttled config 2018-12-06 14:29:34 +00:00
cogl-config.h.meson cogl: Add libsysprof capture based tracing 2019-05-31 11:55:56 -03:00
cogl-mutter-config.h.in cogl: Make cogl-config.h include check explicit 2018-11-06 17:17:36 +01:00
config-custom.h move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
meson.build cogl: Add libsysprof capture based tracing 2019-05-31 11:55:56 -03:00