Markers: temporarily remove GDB support
[ust.git] / libust / tracectl.c
index 414162c1df96ad0a03586496a10bfce7d6113dc0..bc0a07c046d26333f36ef1b19145f79c8ba53fa8 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdint.h>
@@ -110,9 +111,12 @@ static void print_ust_marker(FILE *fp)
                fprintf(fp, "ust_marker: %s/%s %d \"%s\" %p\n",
                        (*iter.ust_marker)->channel,
                        (*iter.ust_marker)->name,
-                       (int)imv_read((*iter.ust_marker)->state),
+                       (int)(*iter.ust_marker)->state,
                        (*iter.ust_marker)->format,
-                       (*iter.ust_marker)->location);
+                       NULL);  /*
+                                * location is null for now, will be added
+                                * to a different table.
+                                */
                ust_marker_iter_next(&iter);
        }
        unlock_ust_marker();
This page took 0.02464 seconds and 4 git commands to generate.