fix usertrace and genevent for printf alignment
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 6 Sep 2006 14:10:52 +0000 (14:10 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 6 Sep 2006 14:10:52 +0000 (14:10 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2078 04897980-b3bd-0310-b5e0-8ef037075253

tests/kernel/test-irqdis.c [new file with mode: 0644]

diff --git a/tests/kernel/test-irqdis.c b/tests/kernel/test-irqdis.c
new file mode 100644 (file)
index 0000000..02de498
--- /dev/null
@@ -0,0 +1,35 @@
+/* test-time-probe.c
+ *
+ * Test multiple kmallocs.
+ */
+
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/interrupt.h>
+#include <linux/delay.h>
+
+static int ltt_test_init(void)
+{
+       unsigned long flags;
+
+       printk(KERN_ALERT "test init\n");
+       
+       local_irq_save(flags);
+       msleep(1000);
+       local_irq_restore(flags);
+       return -1;
+}
+
+static void ltt_test_exit(void)
+{
+       printk(KERN_ALERT "test end\n");
+}
+
+module_init(ltt_test_init)
+module_exit(ltt_test_exit)
+
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Mathieu Desnoyers");
+MODULE_DESCRIPTION("Linux Trace Toolkit Test");
+
This page took 0.024064 seconds and 4 git commands to generate.