projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce API compatibility macros
[lttng-ust.git]
/
doc
/
examples
/
gen-tp
/
sample.c
diff --git
a/doc/examples/gen-tp/sample.c
b/doc/examples/gen-tp/sample.c
index 94feb5e5bfdadb1b24cf443fbaf3e7b078537f19..52c4a9ebc5df52043a67bf83edfe8780fe1b9c9f 100644
(file)
--- a/
doc/examples/gen-tp/sample.c
+++ b/
doc/examples/gen-tp/sample.c
@@
-8,12
+8,12
@@
#include <unistd.h>
#include "sample_tracepoint.h"
#include <unistd.h>
#include "sample_tracepoint.h"
-int main(
int argc, char **argv
)
+int main(
void
)
{
int i = 0;
for (i = 0; i < 100000; i++) {
{
int i = 0;
for (i = 0; i < 100000; i++) {
- tracepoint(sample_tracepoint, message, "Hello World\n");
+
lttng_ust_
tracepoint(sample_tracepoint, message, "Hello World\n");
usleep(1);
}
return 0;
usleep(1);
}
return 0;
This page took
0.023775 seconds
and
4
git commands to generate.