Use DBG instead of WARN for futex_wake workaround message
[lttng-ust.git] / liblttng-ust / lttng-ust-comm.c
index 336510003a01006afb722cab4dbb056d89976fbd..15987740f28365f8e12a53ca00de07f6e1148ec7 100644 (file)
@@ -307,9 +307,7 @@ end:
                lur.u.version = lum->u.version;
                break;
        case LTTNG_UST_TRACEPOINT_LIST_GET:
-               memcpy(lur.u.tracepoint_list_entry,
-                       lum->u.tracepoint_list_entry,
-                       LTTNG_UST_SYM_NAME_LEN);
+               memcpy(&lur.u.tracepoint, &lum->u.tracepoint, sizeof(lur.u.tracepoint));
                break;
        }
        ret = send_reply(sock, &lur);
@@ -563,7 +561,7 @@ void wait_for_sessiond(struct sock_info *sock_info)
                if (ret < 0) {
                        if (errno == EFAULT) {
                                wait_poll_fallback = 1;
-                               WARN(
+                               DBG(
 "Linux kernels 2.6.33 to 3.0 (with the exception of stable versions) "
 "do not support FUTEX_WAKE on read-only memory mappings correctly. "
 "Please upgrade your kernel "
This page took 0.02449 seconds and 4 git commands to generate.