summaryrefslogtreecommitdiff
path: root/subprojects
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2020-07-17 19:10:18 +0100
committerPhilip Withnall <withnall@endlessm.com>2020-07-27 15:44:00 +0100
commit1369a85a7bbde34dc1c0162ab82c7f5e1d175438 (patch)
tree0ec5d4ee6a73d93efbe7b8b2ee8bb6901dd34a94 /subprojects
parent38e28398c36f196353dea5faec5848526f62d520 (diff)
downloadlibsoup-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 'subprojects')
-rw-r--r--subprojects/sysprof.wrap5
1 files changed, 5 insertions, 0 deletions
diff --git a/subprojects/sysprof.wrap b/subprojects/sysprof.wrap
new file mode 100644
index 00000000..8e8a101d
--- /dev/null
+++ b/subprojects/sysprof.wrap
@@ -0,0 +1,5 @@
+[wrap-git]
+directory=sysprof
+url=https://gitlab.gnome.org/GNOME/sysprof.git
+revision=1bb0eb7798f6a88667681229dde415ed663b1053
+depth=1