diff options
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 88edbf1f6788..cc1d34b8b771 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -53,12 +53,12 @@ struct trace_entry { | |||
53 | * the trace, etc.) | 53 | * the trace, etc.) |
54 | */ | 54 | */ |
55 | struct trace_array_cpu { | 55 | struct trace_array_cpu { |
56 | void *trace; | ||
57 | void *trace_current; | 56 | void *trace_current; |
58 | unsigned trace_current_idx; | ||
59 | struct list_head trace_pages; | 57 | struct list_head trace_pages; |
60 | unsigned long trace_idx; | ||
61 | atomic_t disabled; | 58 | atomic_t disabled; |
59 | /* these fields get copied into max-trace: */ | ||
60 | unsigned trace_current_idx; | ||
61 | unsigned long trace_idx; | ||
62 | unsigned long saved_latency; | 62 | unsigned long saved_latency; |
63 | unsigned long critical_start; | 63 | unsigned long critical_start; |
64 | unsigned long critical_end; | 64 | unsigned long critical_end; |
@@ -216,4 +216,6 @@ extern int trace_selftest_startup_sched_switch(struct tracer *trace, | |||
216 | #endif | 216 | #endif |
217 | #endif /* CONFIG_FTRACE_STARTUP_TEST */ | 217 | #endif /* CONFIG_FTRACE_STARTUP_TEST */ |
218 | 218 | ||
219 | extern void *head_page(struct trace_array_cpu *data); | ||
220 | |||
219 | #endif /* _LINUX_KERNEL_TRACE_H */ | 221 | #endif /* _LINUX_KERNEL_TRACE_H */ |