diff options
author | Pekka Paalanen <pq@iki.fi> | 2008-09-16 14:56:41 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:37:04 -0400 |
commit | 45dcd8b8a8ca855591e3ac882d3a7fc255d09d43 (patch) | |
tree | 55b1772dfc9a6381ab1ecad7f3f6fbd605427f20 /kernel/trace/trace.h | |
parent | bbe5c7830c6dbde58726d44ec0337bc8b2d95d37 (diff) |
ftrace: move mmiotrace functions out of trace.c
Moves the mmiotrace specific functions from trace.c to
trace_mmiotrace.c. Functions trace_wake_up(), tracing_get_trace_entry(),
and tracing_generic_entry_update() are therefore made available outside
trace.c.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 77c265f6a779..9d39aa00a9c6 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -213,11 +213,17 @@ struct trace_iterator { | |||
213 | long idx; | 213 | long idx; |
214 | }; | 214 | }; |
215 | 215 | ||
216 | void trace_wake_up(void); | ||
216 | void tracing_reset(struct trace_array_cpu *data); | 217 | void tracing_reset(struct trace_array_cpu *data); |
217 | int tracing_open_generic(struct inode *inode, struct file *filp); | 218 | int tracing_open_generic(struct inode *inode, struct file *filp); |
218 | struct dentry *tracing_init_dentry(void); | 219 | struct dentry *tracing_init_dentry(void); |
219 | void init_tracer_sysprof_debugfs(struct dentry *d_tracer); | 220 | void init_tracer_sysprof_debugfs(struct dentry *d_tracer); |
220 | 221 | ||
222 | struct trace_entry *tracing_get_trace_entry(struct trace_array *tr, | ||
223 | struct trace_array_cpu *data); | ||
224 | void tracing_generic_entry_update(struct trace_entry *entry, | ||
225 | unsigned long flags); | ||
226 | |||
221 | void ftrace(struct trace_array *tr, | 227 | void ftrace(struct trace_array *tr, |
222 | struct trace_array_cpu *data, | 228 | struct trace_array_cpu *data, |
223 | unsigned long ip, | 229 | unsigned long ip, |
@@ -291,15 +297,6 @@ extern unsigned long ftrace_update_tot_cnt; | |||
291 | extern int DYN_FTRACE_TEST_NAME(void); | 297 | extern int DYN_FTRACE_TEST_NAME(void); |
292 | #endif | 298 | #endif |
293 | 299 | ||
294 | #ifdef CONFIG_MMIOTRACE | ||
295 | extern void __trace_mmiotrace_rw(struct trace_array *tr, | ||
296 | struct trace_array_cpu *data, | ||
297 | struct mmiotrace_rw *rw); | ||
298 | extern void __trace_mmiotrace_map(struct trace_array *tr, | ||
299 | struct trace_array_cpu *data, | ||
300 | struct mmiotrace_map *map); | ||
301 | #endif | ||
302 | |||
303 | #ifdef CONFIG_FTRACE_STARTUP_TEST | 300 | #ifdef CONFIG_FTRACE_STARTUP_TEST |
304 | #ifdef CONFIG_FTRACE | 301 | #ifdef CONFIG_FTRACE |
305 | extern int trace_selftest_startup_function(struct tracer *trace, | 302 | extern int trace_selftest_startup_function(struct tracer *trace, |