ftrace: printk formatting infrastructure
[deliverable/linux.git] / kernel / trace / trace.h
index 6ddd6a6556cf41050f2bb84957528711a1ee3115..50b6d7a6f01aa160d433f5dcc6817083f5abc3f9 100644 (file)
@@ -13,7 +13,9 @@ enum trace_type {
        TRACE_FN,
        TRACE_CTX,
        TRACE_WAKE,
+       TRACE_CONT,
        TRACE_STACK,
+       TRACE_PRINT,
        TRACE_SPECIAL,
        TRACE_MMIO_RW,
        TRACE_MMIO_MAP,
@@ -60,6 +62,14 @@ struct stack_entry {
        unsigned long           caller[FTRACE_STACK_ENTRIES];
 };
 
+/*
+ * ftrace_printk entry:
+ */
+struct print_entry {
+       unsigned long           ip;
+       char                    buf[];
+};
+
 /*
  * The trace field - the most basic unit of tracing. This is what
  * is printed in the end as a single line in the trace output, such as:
@@ -77,6 +87,7 @@ struct trace_field {
                struct ctx_switch_entry         ctx;
                struct special_entry            special;
                struct stack_entry              stack;
+               struct print_entry              print;
                struct mmiotrace_rw             mmiorw;
                struct mmiotrace_map            mmiomap;
        };
This page took 0.026704 seconds and 5 git commands to generate.