diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/events.c | 1 | ||||
-rw-r--r-- | kernel/trace/trace_events_stage_1.h | 4 | ||||
-rw-r--r-- | kernel/trace/trace_events_stage_2.h | 8 | ||||
-rw-r--r-- | kernel/trace/trace_events_stage_3.h | 4 |
4 files changed, 9 insertions, 8 deletions
diff --git a/kernel/trace/events.c b/kernel/trace/events.c index 246f2aa..5a35a91 100644 --- a/kernel/trace/events.c +++ b/kernel/trace/events.c @@ -8,6 +8,7 @@ #include "trace_output.h" +#define TRACE_HEADER_MULTI_READ #include "trace_events_stage_1.h" #include "trace_events_stage_2.h" #include "trace_events_stage_3.h" diff --git a/kernel/trace/trace_events_stage_1.h b/kernel/trace/trace_events_stage_1.h index 38985f9..475f46a 100644 --- a/kernel/trace/trace_events_stage_1.h +++ b/kernel/trace/trace_events_stage_1.h @@ -1,7 +1,7 @@ /* * Stage 1 of the trace events. * - * Override the macros in <trace/trace_event_types.h> to include the following: + * Override the macros in <trace/trace_events.h> to include the following: * * struct ftrace_raw_<call> { * struct trace_entry ent; @@ -36,4 +36,4 @@ }; \ static struct ftrace_event_call event_##name -#include <trace/trace_event_types.h> +#include <trace/trace_events.h> diff --git a/kernel/trace/trace_events_stage_2.h b/kernel/trace/trace_events_stage_2.h index 59cfd7d..aa4a67a 100644 --- a/kernel/trace/trace_events_stage_2.h +++ b/kernel/trace/trace_events_stage_2.h @@ -1,7 +1,7 @@ /* * Stage 2 of the trace events. * - * Override the macros in <trace/trace_event_types.h> to include the following: + * Override the macros in <trace/trace_events.h> to include the following: * * enum print_line_t * ftrace_raw_output_<call>(struct trace_iterator *iter, int flags) @@ -64,7 +64,7 @@ ftrace_raw_output_##call(struct trace_iterator *iter, int flags) \ return TRACE_TYPE_HANDLED; \ } -#include <trace/trace_event_types.h> +#include <trace/trace_events.h> /* * Setup the showing format of trace point. @@ -128,7 +128,7 @@ ftrace_format_##call(struct trace_seq *s) \ return ret; \ } -#include <trace/trace_event_types.h> +#include <trace/trace_events.h> #undef __field #define __field(type, item) \ @@ -167,4 +167,4 @@ ftrace_define_fields_##call(void) \ return ret; \ } -#include <trace/trace_event_types.h> +#include <trace/trace_events.h> diff --git a/kernel/trace/trace_events_stage_3.h b/kernel/trace/trace_events_stage_3.h index 5bb1b7f..45c04e1 100644 --- a/kernel/trace/trace_events_stage_3.h +++ b/kernel/trace/trace_events_stage_3.h @@ -1,7 +1,7 @@ /* * Stage 3 of the trace events. * - * Override the macros in <trace/trace_event_types.h> to include the following: + * Override the macros in <trace/trace_events.h> to include the following: * * static void ftrace_event_<call>(proto) * { @@ -272,7 +272,7 @@ __attribute__((section("_ftrace_events"))) event_##call = { \ _TRACE_PROFILE_INIT(call) \ } -#include <trace/trace_event_types.h> +#include <trace/trace_events.h> #undef _TRACE_PROFILE #undef _TRACE_PROFILE_INIT |