aboutsummaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>2011-03-16 19:04:57 -0400
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2011-03-16 19:04:57 -0400
commit4ad4e902d24b0beaac4cab2308a1001c41837b90 (patch)
treea92ec37f715ddec67302d475a31142a0852704fc /include/trace
parenta1f04a4097be932c04d3a2d57698f92242136c18 (diff)
lttng-instrumentation/lttng-instrumentation-scheduler-arch
LTTng instrumentation scheduler arch Scheduler instrumentation tracepoints probes, arch-specific (sched_kthread_create). Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/sched.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/trace/sched.h b/include/trace/sched.h
new file mode 100644
index 00000000000..a4b0307c4d6
--- /dev/null
+++ b/include/trace/sched.h
@@ -0,0 +1,11 @@
+#ifndef _LTTNG_TRACE_SCHED_H
+#define _LTTNG_TRACE_SCHED_H
+
+#include <linux/sched.h>
+#include <linux/tracepoint.h>
+
+DECLARE_TRACE(sched_kthread_create,
+ TP_PROTO(void *fn, int pid),
+ TP_ARGS(fn, pid));
+
+#endif /* _LTTNG_TRACE_SCHED_H */