Remove loglevel iter (will be performed by tracepoint iteration)
[lttng-ust.git] / liblttng-ust-ctl / ustctl.c
index 30e408bcd39aabf89d4e26ad8c7b0cbef5dfd06e..6a902ef8f9885bd27d9f30b0b2b9c82907c55ea7 100644 (file)
@@ -408,7 +408,7 @@ int ustctl_tracepoint_list(int sock)
 }
 
 int ustctl_tracepoint_list_get(int sock, int tp_list_handle,
-               char iter[LTTNG_UST_SYM_NAME_LEN])
+               struct ustctl_tracepoint_iter *iter)
 {
        struct ustcomm_ust_msg lum;
        struct ustcomm_ust_reply lur;
@@ -421,7 +421,7 @@ int ustctl_tracepoint_list_get(int sock, int tp_list_handle,
        if (ret)
                return ret;
        DBG("received tracepoint list entry %s", lur.u.tracepoint_list_entry);
-       memcpy(iter, lur.u.tracepoint_list_entry, LTTNG_UST_SYM_NAME_LEN);
+       memcpy(iter->name, lur.u.tracepoint_list_entry, LTTNG_UST_SYM_NAME_LEN);
        return 0;
 }
 
This page took 0.027009 seconds and 5 git commands to generate.