diff options
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 254d04a84ec3..bba34a72c780 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -664,6 +664,7 @@ struct event_filter { | |||
664 | int n_preds; /* Number assigned */ | 664 | int n_preds; /* Number assigned */ |
665 | int a_preds; /* allocated */ | 665 | int a_preds; /* allocated */ |
666 | struct filter_pred *preds; | 666 | struct filter_pred *preds; |
667 | struct filter_pred *root; | ||
667 | char *filter_string; | 668 | char *filter_string; |
668 | }; | 669 | }; |
669 | 670 | ||
@@ -675,6 +676,9 @@ struct event_subsystem { | |||
675 | int nr_events; | 676 | int nr_events; |
676 | }; | 677 | }; |
677 | 678 | ||
679 | #define FILTER_PRED_INVALID ((unsigned short)-1) | ||
680 | #define FILTER_PRED_IS_RIGHT (1 << 15) | ||
681 | |||
678 | struct filter_pred; | 682 | struct filter_pred; |
679 | struct regex; | 683 | struct regex; |
680 | 684 | ||
@@ -704,7 +708,10 @@ struct filter_pred { | |||
704 | int offset; | 708 | int offset; |
705 | int not; | 709 | int not; |
706 | int op; | 710 | int op; |
707 | int pop_n; | 711 | unsigned short index; |
712 | unsigned short parent; | ||
713 | unsigned short left; | ||
714 | unsigned short right; | ||
708 | }; | 715 | }; |
709 | 716 | ||
710 | extern struct list_head ftrace_common_fields; | 717 | extern struct list_head ftrace_common_fields; |