aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ftrace_event.h')
-rw-r--r--include/linux/ftrace_event.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h
index 26d3673d5143..ac8c6f8cf242 100644
--- a/include/linux/ftrace_event.h
+++ b/include/linux/ftrace_event.h
@@ -89,7 +89,9 @@ enum print_line_t {
89 TRACE_TYPE_NO_CONSUME = 3 /* Handled but ask to not consume */ 89 TRACE_TYPE_NO_CONSUME = 3 /* Handled but ask to not consume */
90}; 90};
91 91
92 92void tracing_generic_entry_update(struct trace_entry *entry,
93 unsigned long flags,
94 int pc);
93struct ring_buffer_event * 95struct ring_buffer_event *
94trace_current_buffer_lock_reserve(int type, unsigned long len, 96trace_current_buffer_lock_reserve(int type, unsigned long len,
95 unsigned long flags, int pc); 97 unsigned long flags, int pc);
@@ -121,11 +123,9 @@ struct ftrace_event_call {
121 struct event_filter *filter; 123 struct event_filter *filter;
122 void *mod; 124 void *mod;
123 125
124#ifdef CONFIG_EVENT_PROFILE 126 atomic_t profile_count;
125 atomic_t profile_count; 127 int (*profile_enable)(struct ftrace_event_call *);
126 int (*profile_enable)(struct ftrace_event_call *); 128 void (*profile_disable)(struct ftrace_event_call *);
127 void (*profile_disable)(struct ftrace_event_call *);
128#endif
129}; 129};
130 130
131#define MAX_FILTER_PRED 32 131#define MAX_FILTER_PRED 32