X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libust%2Ftracectl.c;h=bc0a07c046d26333f36ef1b19145f79c8ba53fa8;hb=fe566790e6be3f27f0befd85b715a3e84977bf6c;hp=414162c1df96ad0a03586496a10bfce7d6113dc0;hpb=b521931e0000388ff9080d46719936be98af54c6;p=ust.git diff --git a/libust/tracectl.c b/libust/tracectl.c index 414162c..bc0a07c 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -21,6 +21,7 @@ */ #define _GNU_SOURCE +#define _LGPL_SOURCE #include #include #include @@ -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();