Implement event fields listing
[lttng-ust.git] / liblttng-ust / lttng-ust-abi.c
index c16a617ceb98710b28466e6dc72080d463d173cc..dac86c7843494da620c920a7c55c5b3f5c86e4e5 100644 (file)
@@ -614,8 +614,7 @@ long lttng_tracepoint_field_list_cmd(int objd, unsigned int cmd,
        unsigned long arg, union ust_args *uargs)
 {
        struct lttng_ust_field_list *list = objd_private(objd);
-       struct lttng_ust_field_iter *tp =
-               (struct lttng_ust_field_iter *) arg;
+       struct lttng_ust_field_iter *tp = &uargs->field_list.entry;
        struct lttng_ust_field_iter *iter;
 
        switch (cmd) {
This page took 0.055966 seconds and 4 git commands to generate.