ust: continue work
[ust.git] / hello / hello.c
1 #include <stdio.h>
2 #include <unistd.h>
3
4 #include "../libmarkers/marker.h"
5
6 void probe(const struct marker *mdata,
7 void *probe_private, void *call_private,
8 const char *fmt, va_list *args)
9 {
10 printf("In probe\n");
11 }
12
13 int main()
14 {
15 printf("Hello, World!\n");
16
17 marker_probe_register("abc", "testmark", "", probe, NULL);
18
19 trace_mark(abc, testmark, "", MARK_NOARGS);
20
21 scanf("%*s");
22
23 return 0;
24 }
This page took 0.029518 seconds and 4 git commands to generate.