aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 6ddd6a6556cf..50b6d7a6f01a 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -13,7 +13,9 @@ enum trace_type {
13 TRACE_FN, 13 TRACE_FN,
14 TRACE_CTX, 14 TRACE_CTX,
15 TRACE_WAKE, 15 TRACE_WAKE,
16 TRACE_CONT,
16 TRACE_STACK, 17 TRACE_STACK,
18 TRACE_PRINT,
17 TRACE_SPECIAL, 19 TRACE_SPECIAL,
18 TRACE_MMIO_RW, 20 TRACE_MMIO_RW,
19 TRACE_MMIO_MAP, 21 TRACE_MMIO_MAP,
@@ -61,6 +63,14 @@ struct stack_entry {
61}; 63};
62 64
63/* 65/*
66 * ftrace_printk entry:
67 */
68struct print_entry {
69 unsigned long ip;
70 char buf[];
71};
72
73/*
64 * The trace field - the most basic unit of tracing. This is what 74 * The trace field - the most basic unit of tracing. This is what
65 * is printed in the end as a single line in the trace output, such as: 75 * is printed in the end as a single line in the trace output, such as:
66 * 76 *
@@ -77,6 +87,7 @@ struct trace_field {
77 struct ctx_switch_entry ctx; 87 struct ctx_switch_entry ctx;
78 struct special_entry special; 88 struct special_entry special;
79 struct stack_entry stack; 89 struct stack_entry stack;
90 struct print_entry print;
80 struct mmiotrace_rw mmiorw; 91 struct mmiotrace_rw mmiorw;
81 struct mmiotrace_map mmiomap; 92 struct mmiotrace_map mmiomap;
82 }; 93 };