projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update version
[lttv.git]
/
ltt-usertrace
/
sample-highspeed.c
diff --git
a/ltt-usertrace/sample-highspeed.c
b/ltt-usertrace/sample-highspeed.c
index bd9ea37ad4367e360d5dfe4d8c10c2def00c8c9c..bc32e07b932715f9fc8e42bb5674dcf4ae94305f 100644
(file)
--- a/
ltt-usertrace/sample-highspeed.c
+++ b/
ltt-usertrace/sample-highspeed.c
@@
-3,14
+3,17
@@
#include <unistd.h>
#define LTT_TRACE
#include <unistd.h>
#define LTT_TRACE
-#define LTT_
BLOCKING 1
+#define LTT_
TRACE_FAST
#include <ltt/ltt-facility-user_generic.h>
int main(int argc, char **argv)
{
#include <ltt/ltt-facility-user_generic.h>
int main(int argc, char **argv)
{
- printf("Will trace the following string : Running fast! in a infinite loop.\n");
+ printf("Will trace the following string : Running fast! in an infinite loop.\n");
+ printf("Abort with CTRL-C or it will quickly fill up your disk.\n");
+ printf("See the result file in /tmp/ltt-usertrace.\n");
+ int i;
while(1) {
trace_user_generic_string("Running fast!");
}
while(1) {
trace_user_generic_string("Running fast!");
}
This page took
0.022417 seconds
and
4
git commands to generate.