new ltt-usertrace
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 9 Mar 2006 21:10:10 +0000 (21:10 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 9 Mar 2006 21:10:10 +0000 (21:10 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1645 04897980-b3bd-0310-b5e0-8ef037075253

ltt-usertrace/sample-highspeed.c
ltt-usertrace/sample-instrument-fct.c
ltt-usertrace/sample-thread.c
ltt-usertrace/sample.c

index 3f249d3f69bfca7a5f8fa7d77bd23b792f8c278f..78b0c7c19a06b09cbd924ec759e2ec8df4b8c56a 100644 (file)
@@ -11,7 +11,7 @@ int main(int argc, char **argv)
 {
        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-usertraces.\n");
+       printf("See the result file in /tmp/ltt-usertrace.\n");
 
        while(1) {
                trace_user_generic_string("Running fast!");
index 2881adc2f1ff09fe7209546d855a9a34881f68ee..cb8732d54d297fe753cd012bae0b92dbad00fd41 100644 (file)
@@ -15,7 +15,7 @@ void test_function(void)
 int main(int argc, char **argv)
 {
   printf("Abort with CTRL-C.\n");
-  printf("See the result file in /tmp/ltt-usertraces.\n");
+  printf("See the result file in /tmp/ltt-usertrace.\n");
 
 
        while(1) {
index 315a926e633d78ec1cab9b4117c3d55517c1802a..d98c86f5487fdc91c55b5a87ca5f923de2955ac7 100644 (file)
@@ -42,6 +42,9 @@ int main()
 
        printf("Will trace the following string : Hello world! Have a nice day.\n");
        printf("Press CTRL-C to stop.\n");
+  printf("No file is created with this example : it logs through a kernel\n");
+  printf("system call. See the LTTng lttctl command to start tracing.\n\n");
+
   printf("thread main, thread id : %lu, pid %lu\n", pthread_self(), getpid());
   err = pthread_create(&tid1, NULL, thr1, NULL);
   if(err!=0) exit(1);
index d6452525e5d67d34aa2429cab4cd42b8be629fe5..b5ef44923740f34ab0899dfc225853ceb9479210 100644 (file)
@@ -9,7 +9,8 @@
 
 int main(int argc, char **argv)
 {
-       printf("Will trace the following string : Hello world! Have a nice day.\n");
+       printf("Will trace the following string : \"Hello world! Have a nice day.\"\n");
+       printf("every second.\n");
   printf("Abort with CTRL-C.\n");
   printf("No file is created with this example : it logs through a kernel\n");
   printf("system call. See the LTTng lttctl command to start tracing.\n");
This page took 0.025262 seconds and 4 git commands to generate.