Event metadata description available for sched probe
[lttng-modules.git] / probes / lttng-probe-sched.c
diff --git a/probes/lttng-probe-sched.c b/probes/lttng-probe-sched.c
new file mode 100644 (file)
index 0000000..dfe26c0
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * 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
+#undef CONFIG_EVENT_TRACING    /* Don't create Ftrace probes */
+
+#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.026425 seconds and 4 git commands to generate.