instrum size
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 29 Mar 2006 20:20:49 +0000 (20:20 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 29 Mar 2006 20:20:49 +0000 (20:20 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1736 04897980-b3bd-0310-b5e0-8ef037075253

tests/facilities/tests.xml
tests/kernel/test-instrument-size-big.mod.c [deleted file]
tests/kernel/test-instrument-size-med.mod.c [deleted file]
tests/kernel/test-instrument-size-small.mod.c [deleted file]
tests/user/Makefile
tests/user/test-usertrace-time.c

index 68808aff28b230037a14c67551061d72a01c1c5a..a70eabd78e1120137fd5983ff684d1538a36d5a0 100644 (file)
@@ -6,5 +6,28 @@
     <description>Write a 4 bytes int</description>
                <field name="data"><int size="4"></field>
   </event>
+       
+  <event name="write_string">
+    <description>Write a string</description>
+               <field name="data"><string></field>
+  </event>
+
+  <event name="write_struct">
+    <description>Write a structure (big)</description>
+               <field name="data1"><int size="4"></field>
+               <field name="data2">
+                       <struct>
+                               <field name="data3"><string></field>
+                               <field name="data4"><int size="4"></field>
+                               <field name="data5">
+                                       <sequence>
+                                       <uint>
+                                       <int_fixed size="8">
+                                       </sequence>
+                               </field>
+                               <field name="data6"><int size="8"></field>
+                       </struct>
+               </field>
+  </event>
 
 </facility>
diff --git a/tests/kernel/test-instrument-size-big.mod.c b/tests/kernel/test-instrument-size-big.mod.c
deleted file mode 100644 (file)
index 9159fdf..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <linux/module.h>
-#include <linux/vermagic.h>
-#include <linux/compiler.h>
-
-MODULE_INFO(vermagic, VERMAGIC_STRING);
-
-struct module __this_module
-__attribute__((section(".gnu.linkonce.this_module"))) = {
- .name = KBUILD_MODNAME,
-};
-
-static const char __module_depends[]
-__attribute_used__
-__attribute__((section(".modinfo"))) =
-"depends=ltt-facility-loader-tests";
-
diff --git a/tests/kernel/test-instrument-size-med.mod.c b/tests/kernel/test-instrument-size-med.mod.c
deleted file mode 100644 (file)
index 9159fdf..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <linux/module.h>
-#include <linux/vermagic.h>
-#include <linux/compiler.h>
-
-MODULE_INFO(vermagic, VERMAGIC_STRING);
-
-struct module __this_module
-__attribute__((section(".gnu.linkonce.this_module"))) = {
- .name = KBUILD_MODNAME,
-};
-
-static const char __module_depends[]
-__attribute_used__
-__attribute__((section(".modinfo"))) =
-"depends=ltt-facility-loader-tests";
-
diff --git a/tests/kernel/test-instrument-size-small.mod.c b/tests/kernel/test-instrument-size-small.mod.c
deleted file mode 100644 (file)
index 9159fdf..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <linux/module.h>
-#include <linux/vermagic.h>
-#include <linux/compiler.h>
-
-MODULE_INFO(vermagic, VERMAGIC_STRING);
-
-struct module __this_module
-__attribute__((section(".gnu.linkonce.this_module"))) = {
- .name = KBUILD_MODNAME,
-};
-
-static const char __module_depends[]
-__attribute_used__
-__attribute__((section(".modinfo"))) =
-"depends=ltt-facility-loader-tests";
-
index 6c773f7be18dff1d06baa36b7aeb6e2460025af0..bcd3dad0940237f4aea54b23f422b27f915bfbf4 100644 (file)
@@ -14,11 +14,14 @@ all: tests
 
 #TEST PROGRAMS
 
-tests: test-usertrace-time
+tests: test-usertrace-time test-usertrace-time-slow
 
 test-usertrace-time: test-usertrace-time.c ltt-facility-loader-user_tests.c
        $(CC) $(CFLAGS) -lltt-usertrace-fast -o $@ $^
 
+test-usertrace-time-slow: test-usertrace-time-slow.c ltt-facility-loader-user_tests.c
+       $(CC) $(CFLAGS) -o $@ $^
+
 #LIBRAIRIES
 
 .PHONY : clean tests
index f279ee429c900db5df3e5f6ea2d892eac107f67c..7d007e1ea3098107dde7c38ea5a27b29fc51cc56 100644 (file)
@@ -1,7 +1,7 @@
 
 #include <stdio.h>
 #include <unistd.h>
-#include <sys/timex.h>
+#include <asm/timex.h>
 
 #define LTT_TRACE
 #define LTT_TRACE_FAST
This page took 0.026488 seconds and 4 git commands to generate.