aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2008-12-23 23:24:11 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-29 06:46:10 -0500
commitc47956d9ae3341d2d1998bff26620fa3338c01e4 (patch)
treef6b3569f070ec8fe1a999985b2e8909cd9792785 /kernel/trace/trace.h
parent0f01f07fad4ee11d98fe6faa442afbeb0328a378 (diff)
ftrace: remove obsolete print continue functionality
Impact: cleanup, remove obsolete code Now that the ring buffer used by ftrace allows for variable length entries, we do not need the 'cont' feature of the buffer. This code makes other parts of ftrace more complex and by removing this it simplifies the ftrace code. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index cc7a4f864036..3a357382cce6 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -16,7 +16,6 @@ enum trace_type {
16 TRACE_FN, 16 TRACE_FN,
17 TRACE_CTX, 17 TRACE_CTX,
18 TRACE_WAKE, 18 TRACE_WAKE,
19 TRACE_CONT,
20 TRACE_STACK, 19 TRACE_STACK,
21 TRACE_PRINT, 20 TRACE_PRINT,
22 TRACE_SPECIAL, 21 TRACE_SPECIAL,
@@ -178,7 +177,6 @@ struct trace_power {
178 * NEED_RESCED - reschedule is requested 177 * NEED_RESCED - reschedule is requested
179 * HARDIRQ - inside an interrupt handler 178 * HARDIRQ - inside an interrupt handler
180 * SOFTIRQ - inside a softirq handler 179 * SOFTIRQ - inside a softirq handler
181 * CONT - multiple entries hold the trace item
182 */ 180 */
183enum trace_flag_type { 181enum trace_flag_type {
184 TRACE_FLAG_IRQS_OFF = 0x01, 182 TRACE_FLAG_IRQS_OFF = 0x01,
@@ -186,7 +184,6 @@ enum trace_flag_type {
186 TRACE_FLAG_NEED_RESCHED = 0x04, 184 TRACE_FLAG_NEED_RESCHED = 0x04,
187 TRACE_FLAG_HARDIRQ = 0x08, 185 TRACE_FLAG_HARDIRQ = 0x08,
188 TRACE_FLAG_SOFTIRQ = 0x10, 186 TRACE_FLAG_SOFTIRQ = 0x10,
189 TRACE_FLAG_CONT = 0x20,
190}; 187};
191 188
192#define TRACE_BUF_SIZE 1024 189#define TRACE_BUF_SIZE 1024
@@ -262,7 +259,6 @@ extern void __ftrace_bad_type(void);
262 do { \ 259 do { \
263 IF_ASSIGN(var, ent, struct ftrace_entry, TRACE_FN); \ 260 IF_ASSIGN(var, ent, struct ftrace_entry, TRACE_FN); \
264 IF_ASSIGN(var, ent, struct ctx_switch_entry, 0); \ 261 IF_ASSIGN(var, ent, struct ctx_switch_entry, 0); \
265 IF_ASSIGN(var, ent, struct trace_field_cont, TRACE_CONT); \
266 IF_ASSIGN(var, ent, struct stack_entry, TRACE_STACK); \ 262 IF_ASSIGN(var, ent, struct stack_entry, TRACE_STACK); \
267 IF_ASSIGN(var, ent, struct userstack_entry, TRACE_USER_STACK);\ 263 IF_ASSIGN(var, ent, struct userstack_entry, TRACE_USER_STACK);\
268 IF_ASSIGN(var, ent, struct print_entry, TRACE_PRINT); \ 264 IF_ASSIGN(var, ent, struct print_entry, TRACE_PRINT); \
@@ -489,9 +485,6 @@ extern int trace_selftest_startup_branch(struct tracer *trace,
489 485
490extern void *head_page(struct trace_array_cpu *data); 486extern void *head_page(struct trace_array_cpu *data);
491extern int trace_seq_printf(struct trace_seq *s, const char *fmt, ...); 487extern int trace_seq_printf(struct trace_seq *s, const char *fmt, ...);
492extern void trace_seq_print_cont(struct trace_seq *s,
493 struct trace_iterator *iter);
494
495extern int 488extern int
496seq_print_ip_sym(struct trace_seq *s, unsigned long ip, 489seq_print_ip_sym(struct trace_seq *s, unsigned long ip,
497 unsigned long sym_flags); 490 unsigned long sym_flags);