summary refs log tree commit diff stats
path: root/io/channel-tls.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-01-05 15:48:07 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2024-02-09 12:50:31 +0000
commit003f15369de4e290a4d2e58292d96c5a506e4ee6 (patch)
treeb078e5601f5aa300175a21995b6098e7cda90e6b /io/channel-tls.c
parentcb8ded0f6d919a61ef890be14b28e765fba81f66 (diff)
downloadfocaccia-qemu-003f15369de4e290a4d2e58292d96c5a506e4ee6.tar.gz
focaccia-qemu-003f15369de4e290a4d2e58292d96c5a506e4ee6.zip
io: add trace event when cancelling TLS handshake
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'io/channel-tls.c')
-rw-r--r--io/channel-tls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io/channel-tls.c b/io/channel-tls.c
index 58fe1aceee..1d9c9c72bf 100644
--- a/io/channel-tls.c
+++ b/io/channel-tls.c
@@ -381,6 +381,7 @@ static int qio_channel_tls_close(QIOChannel *ioc,
     QIOChannelTLS *tioc = QIO_CHANNEL_TLS(ioc);
 
     if (tioc->hs_ioc_tag) {
+        trace_qio_channel_tls_handshake_cancel(ioc);
         g_clear_handle_id(&tioc->hs_ioc_tag, g_source_remove);
     }