ust: continue work
[ust.git] / hello / hello.c
index 990a7fa36041ee47211f4c2a34cd42a58b138295..0735fd6b6004a518d2c37f11c11623c2d97f2d3f 100644 (file)
@@ -1,9 +1,23 @@
 #include <stdio.h>
 #include <unistd.h>
 
+#include "../libmarkers/marker.h"
+
+void probe(const struct marker *mdata,
+               void *probe_private, void *call_private,
+               const char *fmt, va_list *args)
+{
+       printf("In probe\n");
+}
+
 int main()
 {
        printf("Hello, World!\n");
+
+       marker_probe_register("abc", "testmark", "", probe, NULL);
+
+       trace_mark(abc, testmark, "", MARK_NOARGS);
+
        scanf("%*s");
 
        return 0;
This page took 0.022247 seconds and 4 git commands to generate.