Files
ports/net/ucx/files/patch-src_ucs_debug_log.c
T
GenericRikka 294f65945a net/ucx: Unified Communication X for high-performance messaging
UCX (Unified Communication X) is a high-performance communication framework
for modern HPC and data-intensive workloads. It provides low-latency,
high-bandwidth messaging and remote-memory-access primitives across a wide
range of transports, including shared memory, TCP/IP, and RDMA-capable
interconnects such as InfiniBand and RoCE (when supported by the platform).

UCX is commonly used as a communication substrate for MPI, OpenSHMEM, and
other distributed runtimes. It exposes a set of layered APIs (UCP/UCT/UCS/UCM)
to balance portability and performance while enabling optimized transport
selection, rendezvous protocols, and progress models.

PR:		292889
2026-02-24 01:44:48 +01:00

15 lines
608 B
C

--- src/ucs/debug/log.c.orig 2026-02-04 09:52:46 UTC
+++ src/ucs/debug/log.c
@@ -78,7 +78,11 @@ static int __thread ucs_log_current_indent = 0;
static unsigned ucs_log_handlers_count = 0;
static int ucs_log_initialized = 0;
static int __thread ucs_log_current_indent = 0;
+#if defined(__FreeBSD__)
+static char ucs_log_hostname[UCS_HOST_NAME_MAX] = {0};
+#else
static char ucs_log_hostname[HOST_NAME_MAX] = {0};
+#endif
static int ucs_log_pid = 0;
static FILE *ucs_log_file = NULL;
static char *ucs_log_file_base_name = NULL;