Add basic lttng probes generation from TRACE_EVENT
[lttng-modules.git] / probes / sched.c
diff --git a/probes/sched.c b/probes/sched.c
new file mode 100644 (file)
index 0000000..98bf517
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * probes/sched.c
+ *
+ * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
+ * LTTng sched probes.
+ */
+
+#include <linux/module.h>
+
+/*
+ * Create LTTng tracepoint probes.
+ */
+#define LTTNG_PACKAGE_BUILD
+#define CREATE_TRACE_POINTS
+
+#include <trace/events/sched.h>
+
+MODULE_LICENSE("GPL and additional rights");
+MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
+MODULE_DESCRIPTION("LTTng sched probes");
This page took 0.026042 seconds and 4 git commands to generate.