diff options
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 300ef788c97..654fd657bd0 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -568,6 +568,8 @@ trace_vprintk(unsigned long ip, const char *fmt, va_list args); | |||
568 | 568 | ||
569 | extern unsigned long trace_flags; | 569 | extern unsigned long trace_flags; |
570 | 570 | ||
571 | extern int trace_clock_id; | ||
572 | |||
571 | /* Standard output formatting function used for function return traces */ | 573 | /* Standard output formatting function used for function return traces */ |
572 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER | 574 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
573 | extern enum print_line_t print_graph_function(struct trace_iterator *iter); | 575 | extern enum print_line_t print_graph_function(struct trace_iterator *iter); |
@@ -656,9 +658,8 @@ enum trace_iterator_flags { | |||
656 | TRACE_ITER_PRINTK_MSGONLY = 0x10000, | 658 | TRACE_ITER_PRINTK_MSGONLY = 0x10000, |
657 | TRACE_ITER_CONTEXT_INFO = 0x20000, /* Print pid/cpu/time */ | 659 | TRACE_ITER_CONTEXT_INFO = 0x20000, /* Print pid/cpu/time */ |
658 | TRACE_ITER_LATENCY_FMT = 0x40000, | 660 | TRACE_ITER_LATENCY_FMT = 0x40000, |
659 | TRACE_ITER_GLOBAL_CLK = 0x80000, | 661 | TRACE_ITER_SLEEP_TIME = 0x80000, |
660 | TRACE_ITER_SLEEP_TIME = 0x100000, | 662 | TRACE_ITER_GRAPH_TIME = 0x100000, |
661 | TRACE_ITER_GRAPH_TIME = 0x200000, | ||
662 | }; | 663 | }; |
663 | 664 | ||
664 | /* | 665 | /* |
@@ -755,6 +756,7 @@ struct ftrace_event_field { | |||
755 | struct list_head link; | 756 | struct list_head link; |
756 | char *name; | 757 | char *name; |
757 | char *type; | 758 | char *type; |
759 | int filter_type; | ||
758 | int offset; | 760 | int offset; |
759 | int size; | 761 | int size; |
760 | int is_signed; | 762 | int is_signed; |
@@ -800,6 +802,7 @@ extern int apply_subsystem_event_filter(struct event_subsystem *system, | |||
800 | char *filter_string); | 802 | char *filter_string); |
801 | extern void print_subsystem_event_filter(struct event_subsystem *system, | 803 | extern void print_subsystem_event_filter(struct event_subsystem *system, |
802 | struct trace_seq *s); | 804 | struct trace_seq *s); |
805 | extern int filter_assign_type(const char *type); | ||
803 | 806 | ||
804 | static inline int | 807 | static inline int |
805 | filter_check_discard(struct ftrace_event_call *call, void *rec, | 808 | filter_check_discard(struct ftrace_event_call *call, void *rec, |