projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ust: add markers autoconnect
[lttng-ust.git]
/
hello
/
hello.c
diff --git
a/hello/hello.c
b/hello/hello.c
index d271a453149b4e74b05ee7242f185b408b645d18..67b9ef3a9f56f1455e2f43026d46e816d34ed792 100644
(file)
--- a/
hello/hello.c
+++ b/
hello/hello.c
@@
-204,13
+204,11
@@
int main()
sleep(1);
for(i=0; i<50; i++) {
sleep(1);
for(i=0; i<50; i++) {
- trace_mark(foo, bar, "%s", "FOOBAZ");
+ trace_mark(ust, bar, "str %s", "FOOBAZ");
+ trace_mark(ust, bar2, "number1 %d number2 %d", 53, 9800);
usleep(100000);
}
usleep(100000);
}
- ltt_trace_stop("auto");
- ltt_trace_destroy("auto");
-
scanf("%*s");
return 0;
scanf("%*s");
return 0;
This page took
0.023456 seconds
and
4
git commands to generate.