samba_tevent_context_init() call samba_io_uring_ev_register()
authorStefan Metzmacher <metze@samba.org>
Wed, 21 Sep 2022 09:45:47 +0000 (11:45 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 16 Oct 2023 11:03:46 +0000 (13:03 +0200)
lib/util/tevent_debug.c
lib/util/wscript_build

index 4ec905759a1f731d71bfebde2914e04de33e8e0f..b7584c59913080e4676905ea22b46142f244dcf8 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "includes.h"
 #include <tevent.h>
+#include "lib/util/samba_io_uring.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_TEVENT
@@ -107,6 +108,8 @@ struct tevent_context *samba_tevent_context_init(TALLOC_CTX *mem_ctx)
 
        samba_tevent_setup_abort_fn();
 
+       samba_io_uring_ev_register();
+
        ev = tevent_context_init(mem_ctx);
        if (ev) {
                samba_tevent_set_debug(ev, NULL);
index 688f6595111b2bfeba1f2bfcb316b581b3c45d9a..ffb313ff90e8a186b0f99d4309c37fe9144af5dc 100644 (file)
@@ -218,6 +218,7 @@ else:
                        genrand
                        util_str_hex
                        SAMBA_UTIL_MS_FNMATCH
+                       samba-io-uring
                        ''',
                   public_deps='talloc tevent execinfo pthread LIBCRYPTO charset util_setid',
                   public_headers='''