projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ust: continue work
[ust.git]
/
hello
/
hello.c
diff --git
a/hello/hello.c
b/hello/hello.c
index 990a7fa36041ee47211f4c2a34cd42a58b138295..0735fd6b6004a518d2c37f11c11623c2d97f2d3f 100644
(file)
--- a/
hello/hello.c
+++ b/
hello/hello.c
@@
-1,9
+1,23
@@
#include <stdio.h>
#include <unistd.h>
#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");
int main()
{
printf("Hello, World!\n");
+
+ marker_probe_register("abc", "testmark", "", probe, NULL);
+
+ trace_mark(abc, testmark, "", MARK_NOARGS);
+
scanf("%*s");
return 0;
scanf("%*s");
return 0;
This page took
0.022933 seconds
and
4
git commands to generate.