From e5b6353cf25c99c3f08bf51e29933352f7140e8f Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 19 Aug 2019 14:48:21 +0200 Subject: socket: Add backlog parameter to socket_listen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Current parameter was always one. We continue with that value for now in all callers. Signed-off-by: Juan Quintela Reviewed-by: Daniel P. Berrangé --- Moved trace to socket_listen --- util/trace-events | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/trace-events') diff --git a/util/trace-events b/util/trace-events index 9dbd237..83b6639 100644 --- a/util/trace-events +++ b/util/trace-events @@ -64,6 +64,9 @@ lockcnt_futex_wait(const void *lockcnt, int val) "lockcnt %p waiting on %d" lockcnt_futex_wait_resume(const void *lockcnt, int new) "lockcnt %p after wait: %d" lockcnt_futex_wake(const void *lockcnt) "lockcnt %p waking up one waiter" +# qemu-sockets.c +socket_listen(int num) "backlog: %d" + # qemu-thread-common.h qemu_mutex_lock(void *mutex, const char *file, const int line) "waiting on mutex %p (%s:%d)" qemu_mutex_locked(void *mutex, const char *file, const int line) "taken mutex %p (%s:%d)" -- cgit v1.1