Lines Matching refs:ops
113 int register_ftrace_function(struct ftrace_ops *ops);
114 int unregister_ftrace_function(struct ftrace_ops *ops);
126 static inline void ftrace_function_local_enable(struct ftrace_ops *ops) in ftrace_function_local_enable() argument
128 if (WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL))) in ftrace_function_local_enable()
131 (*this_cpu_ptr(ops->disabled))--; in ftrace_function_local_enable()
143 static inline void ftrace_function_local_disable(struct ftrace_ops *ops) in ftrace_function_local_disable() argument
145 if (WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL))) in ftrace_function_local_disable()
148 (*this_cpu_ptr(ops->disabled))++; in ftrace_function_local_disable()
160 static inline int ftrace_function_local_disabled(struct ftrace_ops *ops) in ftrace_function_local_disabled() argument
162 WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL)); in ftrace_function_local_disabled()
163 return *this_cpu_ptr(ops->disabled); in ftrace_function_local_disabled()
173 #define register_ftrace_function(ops) ({ 0; }) argument
174 #define unregister_ftrace_function(ops) ({ 0; }) argument
214 struct ftrace_probe_ops *ops,
219 register_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops,
222 unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops,
225 unregister_ftrace_function_probe_func(char *glob, struct ftrace_probe_ops *ops);
247 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
249 int ftrace_set_notrace(struct ftrace_ops *ops, unsigned char *buf,
253 void ftrace_free_filter(struct ftrace_ops *ops);
296 int ftrace_regex_open(struct ftrace_ops *ops, int flag,
305 ftrace_set_early_filter(struct ftrace_ops *ops, char *buf, int enable);
404 #define ftrace_regex_open(ops, flag, inod, file) ({ -ENODEV; }) argument
405 #define ftrace_set_early_filter(ops, buf, enable) do { } while (0) argument
406 #define ftrace_set_filter(ops, buf, len, reset) ({ -ENODEV; }) argument
407 #define ftrace_set_notrace(ops, buf, len, reset) ({ -ENODEV; }) argument
408 #define ftrace_free_filter(ops) do { } while (0) argument