This patch changes the trace/sched.h to use the DECLARE_TRACE_FMT such that they are automatically registered with the event tracer.
And it also adds the tracing sched headers to kernel/trace/events.c
Signed-off-by: Steven Rostedt
#ifndef _TRACE_SCHED_H #define _TRACE_SCHED_H #include <linux/sched.h> #include <linux/tracepoint.h> #include <trace/sched_event_types.h> #endif