X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=hello%2Fhello.c;h=102b7db258ce566daff95bc2ce540c629a75d1f8;hb=a3cdd4a7fac4691fc61fcd3c9e6ad4a783fa6113;hp=5f05e225641610960346a80773f57f55862d9bdc;hpb=474d745fffdcb195beae194471c63947aa03249a;p=lttng-ust.git diff --git a/hello/hello.c b/hello/hello.c index 5f05e225..102b7db2 100644 --- a/hello/hello.c +++ b/hello/hello.c @@ -5,8 +5,9 @@ #include #include #include +#include -#include "../libmarkers/marker.h" +#include "marker.h" #include "usterr.h" #include "tracer.h" #include "marker-control.h" @@ -14,13 +15,6 @@ #include "tp.h" -void probe(const struct marker *mdata, - void *probe_private, void *call_private, - const char *fmt, va_list *args) -{ - printf("In probe\n"); -} - void inthandler(int sig) { printf("in handler\n"); @@ -81,5 +75,5 @@ int main() return 0; } -MARKER_LIB -TRACEPOINT_LIB +MARKER_LIB; +TRACEPOINT_LIB;