diff options
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r-- | include/linux/ftrace.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index ab1c46e70bb6..4609c0ece79a 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -31,13 +31,18 @@ typedef void (*ftrace_func_t)(unsigned long ip, unsigned long parent_ip); | |||
31 | 31 | ||
32 | struct ftrace_hash; | 32 | struct ftrace_hash; |
33 | 33 | ||
34 | enum { | ||
35 | FTRACE_OPS_FL_ENABLED = 1 << 0, | ||
36 | FTRACE_OPS_FL_GLOBAL = 1 << 1, | ||
37 | }; | ||
38 | |||
34 | struct ftrace_ops { | 39 | struct ftrace_ops { |
35 | ftrace_func_t func; | 40 | ftrace_func_t func; |
36 | struct ftrace_ops *next; | 41 | struct ftrace_ops *next; |
42 | unsigned long flags; | ||
37 | #ifdef CONFIG_DYNAMIC_FTRACE | 43 | #ifdef CONFIG_DYNAMIC_FTRACE |
38 | struct ftrace_hash *notrace_hash; | 44 | struct ftrace_hash *notrace_hash; |
39 | struct ftrace_hash *filter_hash; | 45 | struct ftrace_hash *filter_hash; |
40 | unsigned long flags; | ||
41 | #endif | 46 | #endif |
42 | }; | 47 | }; |
43 | 48 | ||