diff options
author | Philip Withnall <withnall@endlessm.com> | 2020-07-17 19:10:18 +0100 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2020-07-27 15:44:00 +0100 |
commit | 1369a85a7bbde34dc1c0162ab82c7f5e1d175438 (patch) | |
tree | 0ec5d4ee6a73d93efbe7b8b2ee8bb6901dd34a94 /meson_options.txt | |
parent | 38e28398c36f196353dea5faec5848526f62d520 (diff) | |
download | libsoup-1369a85a7bbde34dc1c0162ab82c7f5e1d175438.tar.gz |
soup-message-io: Add sysprof profiling support for HTTP connections
This adds very basic support for dumping HTTP connection information to
sysprof, if the process is being run under a sysprof session.
See https://gitlab.gnome.org/GNOME/sysprof/-/issues/43 for plans of how
this could be expanded in future. This is just a starting point.
The code in this commit dumps a message to the sysprof capture which
includes the URI, total time for the connection (request + response),
and the amount of data transferred in the request and response.
It adds an optional dependency on `libsysprof-capture-4.a`, and a
subproject for building that if it’s not available on the system.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 12b1aae6..57b098c1 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -70,3 +70,9 @@ option('installed_tests', value: false, description: 'Install tests for as-installed testing' ) + +option('sysprof', + type: 'feature', + value: 'auto', + description: 'enable sysprof-capture support for profiling' +) |