• Home
  • Raw
  • Download

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_PER_CPU))) 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_PER_CPU))) 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_PER_CPU)); 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
322 int (*init)(struct ftrace_probe_ops *ops,
324 void (*free)(struct ftrace_probe_ops *ops,
328 struct ftrace_probe_ops *ops,
333 register_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops,
336 unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops,
339 unregister_ftrace_function_probe_func(char *glob, struct ftrace_probe_ops *ops);
392 int ftrace_set_filter_ip(struct ftrace_ops *ops, unsigned long ip,
394 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
396 int ftrace_set_notrace(struct ftrace_ops *ops, unsigned char *buf,
400 void ftrace_free_filter(struct ftrace_ops *ops);
464 int ftrace_regex_open(struct ftrace_ops *ops, int flag,
473 ftrace_set_early_filter(struct ftrace_ops *ops, char *buf, int enable);
642 #define ftrace_regex_open(ops, flag, inod, file) ({ -ENODEV; }) argument
643 #define ftrace_set_early_filter(ops, buf, enable) do { } while (0) argument
644 #define ftrace_set_filter_ip(ops, ip, remove, reset) ({ -ENODEV; }) argument
645 #define ftrace_set_filter(ops, buf, len, reset) ({ -ENODEV; }) argument
646 #define ftrace_set_notrace(ops, buf, len, reset) ({ -ENODEV; }) argument
647 #define ftrace_free_filter(ops) do { } while (0) argument