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 /libsoup/meson.build | |
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 'libsoup/meson.build')
-rw-r--r-- | libsoup/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsoup/meson.build b/libsoup/meson.build index 613d68a4..432e294d 100644 --- a/libsoup/meson.build +++ b/libsoup/meson.build @@ -242,6 +242,7 @@ libsoup_c_args = [ ] deps = [ + libsysprof_capture_dep, glib_deps, libxml_dep, sqlite_dep, |