[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 10/17] io: add trace event when cancelling TLS handshake
From: |
Daniel P . Berrangé |
Subject: |
[PULL 10/17] io: add trace event when cancelling TLS handshake |
Date: |
Fri, 9 Feb 2024 14:04:58 +0000 |
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
io/channel-tls.c | 1 +
io/trace-events | 1 +
2 files changed, 2 insertions(+)
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);
}
diff --git a/io/trace-events b/io/trace-events
index 3cc5cf1efd..d4c0f84a9a 100644
--- a/io/trace-events
+++ b/io/trace-events
@@ -43,6 +43,7 @@ qio_channel_tls_handshake_start(void *ioc) "TLS handshake
start ioc=%p"
qio_channel_tls_handshake_pending(void *ioc, int status) "TLS handshake
pending ioc=%p status=%d"
qio_channel_tls_handshake_fail(void *ioc) "TLS handshake fail ioc=%p"
qio_channel_tls_handshake_complete(void *ioc) "TLS handshake complete ioc=%p"
+qio_channel_tls_handshake_cancel(void *ioc) "TLS handshake cancel ioc=%p"
qio_channel_tls_credentials_allow(void *ioc) "TLS credentials allow ioc=%p"
qio_channel_tls_credentials_deny(void *ioc) "TLS credentials deny ioc=%p"
--
2.43.0
- [PULL 00/17] Misc fixes patches, Daniel P . Berrangé, 2024/02/09
- [PULL 01/17] meson: sort C warning flags alphabetically, Daniel P . Berrangé, 2024/02/09
- [PULL 02/17] crypto: Introduce SM4 symmetric cipher algorithm, Daniel P . Berrangé, 2024/02/09
- [PULL 03/17] qemu_init: increase NOFILE soft limit on POSIX, Daniel P . Berrangé, 2024/02/09
- [PULL 04/17] ui: drop VNC feature _MASK constants, Daniel P . Berrangé, 2024/02/09
- [PULL 05/17] softmmu: remove obsolete comment about libvirt timeouts, Daniel P . Berrangé, 2024/02/09
- [PULL 06/17] scripts: drop comment about autogenerated CPU API file, Daniel P . Berrangé, 2024/02/09
- [PULL 07/17] docs: fix highlighting of CPU ABI header rows, Daniel P . Berrangé, 2024/02/09
- [PULL 10/17] io: add trace event when cancelling TLS handshake,
Daniel P . Berrangé <=
- [PULL 11/17] crypto: Support LUKS volume with detached header, Daniel P . Berrangé, 2024/02/09
- [PULL 09/17] chardev: close QIOChannel before unref'ing, Daniel P . Berrangé, 2024/02/09
- [PULL 08/17] docs: re-generate x86_64 ABI compatibility CSV, Daniel P . Berrangé, 2024/02/09
- [PULL 12/17] qapi: Make parameter 'file' optional for BlockdevCreateOptionsLUKS, Daniel P . Berrangé, 2024/02/09
- [PULL 13/17] crypto: Modify the qcrypto_block_create to support creation flags, Daniel P . Berrangé, 2024/02/09
- [PULL 15/17] block: Support detached LUKS header creation using qemu-img, Daniel P . Berrangé, 2024/02/09
- [PULL 16/17] crypto: Introduce 'detached-header' field in QCryptoBlockInfoLUKS, Daniel P . Berrangé, 2024/02/09
- [PULL 14/17] block: Support detached LUKS header creation using blockdev-create, Daniel P . Berrangé, 2024/02/09
- [PULL 17/17] tests: Add case for LUKS volume with detached header, Daniel P . Berrangé, 2024/02/09
- Re: [PULL 00/17] Misc fixes patches, Peter Maydell, 2024/02/12