Lines Matching refs:ops
65 ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops);
194 int register_ftrace_function(struct ftrace_ops *ops);
195 int unregister_ftrace_function(struct ftrace_ops *ops);
207 static inline void ftrace_function_local_enable(struct ftrace_ops *ops) in ftrace_function_local_enable() argument
209 if (WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL))) in ftrace_function_local_enable()
212 (*this_cpu_ptr(ops->disabled))--; in ftrace_function_local_enable()
224 static inline void ftrace_function_local_disable(struct ftrace_ops *ops) in ftrace_function_local_disable() argument
226 if (WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL))) in ftrace_function_local_disable()
229 (*this_cpu_ptr(ops->disabled))++; in ftrace_function_local_disable()
241 static inline int ftrace_function_local_disabled(struct ftrace_ops *ops) in ftrace_function_local_disabled() argument
243 WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL)); in ftrace_function_local_disabled()
244 return *this_cpu_ptr(ops->disabled); in ftrace_function_local_disabled()
255 #define register_ftrace_function(ops) ({ 0; }) argument
256 #define unregister_ftrace_function(ops) ({ 0; }) argument
296 int (*init)(struct ftrace_probe_ops *ops,
298 void (*free)(struct ftrace_probe_ops *ops,
302 struct ftrace_probe_ops *ops,
307 register_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops,
310 unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops,
313 unregister_ftrace_function_probe_func(char *glob, struct ftrace_probe_ops *ops);
364 int ftrace_set_filter_ip(struct ftrace_ops *ops, unsigned long ip,
366 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
368 int ftrace_set_notrace(struct ftrace_ops *ops, unsigned char *buf,
372 void ftrace_free_filter(struct ftrace_ops *ops);
435 int ftrace_regex_open(struct ftrace_ops *ops, int flag,
444 ftrace_set_early_filter(struct ftrace_ops *ops, char *buf, int enable);
610 #define ftrace_regex_open(ops, flag, inod, file) ({ -ENODEV; }) argument
611 #define ftrace_set_early_filter(ops, buf, enable) do { } while (0) argument
612 #define ftrace_set_filter_ip(ops, ip, remove, reset) ({ -ENODEV; }) argument
613 #define ftrace_set_filter(ops, buf, len, reset) ({ -ENODEV; }) argument
614 #define ftrace_set_notrace(ops, buf, len, reset) ({ -ENODEV; }) argument
615 #define ftrace_free_filter(ops) do { } while (0) argument