Lines Matching refs:ftrace_ops
81 struct ftrace_ops ftrace_list_end __read_mostly = {
92 struct ftrace_ops *function_trace_op __read_mostly = &ftrace_list_end;
94 static struct ftrace_ops *set_function_trace_op;
96 static bool ftrace_pids_enabled(struct ftrace_ops *ops) in ftrace_pids_enabled()
108 static void ftrace_update_trampoline(struct ftrace_ops *ops);
118 struct ftrace_ops __rcu *ftrace_ops_list __read_mostly = &ftrace_list_end;
120 struct ftrace_ops global_ops;
124 struct ftrace_ops *op, struct ftrace_regs *fregs);
126 static inline void ftrace_ops_init(struct ftrace_ops *ops) in ftrace_ops_init()
138 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_pid_func()
161 static ftrace_func_t ftrace_ops_get_list_func(struct ftrace_ops *ops) in ftrace_ops_get_list_func()
253 static void add_ftrace_ops(struct ftrace_ops __rcu **list, in add_ftrace_ops()
254 struct ftrace_ops *ops) in add_ftrace_ops()
267 static int remove_ftrace_ops(struct ftrace_ops __rcu **list, in remove_ftrace_ops()
268 struct ftrace_ops *ops) in remove_ftrace_ops()
270 struct ftrace_ops **p; in remove_ftrace_ops()
295 static void ftrace_update_trampoline(struct ftrace_ops *ops);
297 int __register_ftrace_function(struct ftrace_ops *ops) in __register_ftrace_function()
340 int __unregister_ftrace_function(struct ftrace_ops *ops) in __unregister_ftrace_function()
362 struct ftrace_ops *op; in ftrace_update_pid_func()
752 struct ftrace_ops *ops, struct ftrace_regs *fregs) in function_profile_call()
862 static struct ftrace_ops ftrace_profile_ops __read_mostly = {
1001 static struct ftrace_ops *removed_ops;
1015 struct ftrace_ops ops;
1034 struct ftrace_ops global_ops = {
1046 struct ftrace_ops *ftrace_ops_trampoline(unsigned long addr) in ftrace_ops_trampoline()
1048 struct ftrace_ops *op = NULL; in ftrace_ops_trampoline()
1252 void ftrace_free_filter(struct ftrace_ops *ops) in ftrace_free_filter()
1349 ftrace_hash_rec_disable_modify(struct ftrace_ops *ops, int filter_hash);
1351 ftrace_hash_rec_enable_modify(struct ftrace_ops *ops, int filter_hash);
1353 static int ftrace_hash_ipmodify_update(struct ftrace_ops *ops,
1407 ftrace_hash_move(struct ftrace_ops *ops, int enable, in ftrace_hash_move()
1472 ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs) in ftrace_ops_test()
1607 struct ftrace_ops *ops; in test_rec_ops_needs_regs()
1624 static struct ftrace_ops *
1626 static struct ftrace_ops *
1627 ftrace_find_tramp_ops_any_other(struct dyn_ftrace *rec, struct ftrace_ops *op_exclude);
1628 static struct ftrace_ops *
1629 ftrace_find_tramp_ops_next(struct dyn_ftrace *rec, struct ftrace_ops *ops);
1631 static bool __ftrace_hash_rec_update(struct ftrace_ops *ops, in __ftrace_hash_rec_update()
1801 static bool ftrace_hash_rec_disable(struct ftrace_ops *ops, in ftrace_hash_rec_disable()
1807 static bool ftrace_hash_rec_enable(struct ftrace_ops *ops, in ftrace_hash_rec_enable()
1813 static void ftrace_hash_rec_update_modify(struct ftrace_ops *ops, in ftrace_hash_rec_update_modify()
1816 struct ftrace_ops *op; in ftrace_hash_rec_update_modify()
1836 static void ftrace_hash_rec_disable_modify(struct ftrace_ops *ops, in ftrace_hash_rec_disable_modify()
1842 static void ftrace_hash_rec_enable_modify(struct ftrace_ops *ops, in ftrace_hash_rec_enable_modify()
1857 static int __ftrace_hash_update_ipmodify(struct ftrace_ops *ops, in __ftrace_hash_update_ipmodify()
1929 static int ftrace_hash_ipmodify_enable(struct ftrace_ops *ops) in ftrace_hash_ipmodify_enable()
1940 static void ftrace_hash_ipmodify_disable(struct ftrace_ops *ops) in ftrace_hash_ipmodify_disable()
1950 static int ftrace_hash_ipmodify_update(struct ftrace_ops *ops, in ftrace_hash_ipmodify_update()
2046 struct ftrace_ops *ops = NULL; in ftrace_bug()
2233 static struct ftrace_ops *
2236 struct ftrace_ops *op; in ftrace_find_tramp_ops_any()
2251 static struct ftrace_ops *
2252 ftrace_find_tramp_ops_any_other(struct dyn_ftrace *rec, struct ftrace_ops *op_exclude) in ftrace_find_tramp_ops_any_other()
2254 struct ftrace_ops *op; in ftrace_find_tramp_ops_any_other()
2269 static struct ftrace_ops *
2271 struct ftrace_ops *op) in ftrace_find_tramp_ops_next()
2287 static struct ftrace_ops *
2290 struct ftrace_ops *op; in ftrace_find_tramp_ops_curr()
2357 static struct ftrace_ops *
2360 struct ftrace_ops *op; in ftrace_find_tramp_ops_new()
2427 struct ftrace_ops *ops, struct ftrace_regs *fregs) in call_direct_funcs()
2439 struct ftrace_ops direct_ops = {
2467 struct ftrace_ops *ops; in ftrace_get_addr_new()
2508 struct ftrace_ops *ops; in ftrace_get_addr_curr()
2809 static void ftrace_run_modify_code(struct ftrace_ops *ops, int command, in ftrace_run_modify_code()
2824 void __weak arch_ftrace_trampoline_free(struct ftrace_ops *ops) in arch_ftrace_trampoline_free()
2831 static void ftrace_add_trampoline_to_kallsyms(struct ftrace_ops *ops) in ftrace_add_trampoline_to_kallsyms()
2837 static void ftrace_remove_trampoline_from_kallsyms(struct ftrace_ops *ops) in ftrace_remove_trampoline_from_kallsyms()
2852 static void ftrace_trampoline_free(struct ftrace_ops *ops) in ftrace_trampoline_free()
2893 int ftrace_startup(struct ftrace_ops *ops, int command) in ftrace_startup()
2937 int ftrace_shutdown(struct ftrace_ops *ops, int command) in ftrace_shutdown()
3090 static inline int ops_traces_mod(struct ftrace_ops *ops) in ops_traces_mod()
3108 ops_references_rec(struct ftrace_ops *ops, struct dyn_ftrace *rec) in ops_references_rec()
3286 struct ftrace_ops *ops;
3636 arch_ftrace_trampoline_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) in arch_ftrace_trampoline_func()
3641 static void add_trampoline_func(struct seq_file *m, struct ftrace_ops *ops, in add_trampoline_func()
3677 struct ftrace_ops *ops; in t_show()
3785 ftrace_regex_open(struct ftrace_ops *ops, int flag, in ftrace_regex_open()
3875 struct ftrace_ops *ops = inode->i_private; in ftrace_filter_open()
3886 struct ftrace_ops *ops = inode->i_private; in ftrace_notrace_open()
4092 static void ftrace_ops_update_code(struct ftrace_ops *ops, in ftrace_ops_update_code()
4095 struct ftrace_ops *op; in ftrace_ops_update_code()
4123 static int ftrace_hash_move_and_update_ops(struct ftrace_ops *ops, in ftrace_hash_move_and_update_ops()
4205 ftrace_set_regex(struct ftrace_ops *ops, unsigned char *buf, int len,
4209 static void process_mod_list(struct list_head *head, struct ftrace_ops *ops, in process_mod_list()
4345 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_trace_probe_call()
4980 ftrace_set_hash(struct ftrace_ops *ops, unsigned char *buf, int len, in ftrace_set_hash()
5029 ftrace_set_addr(struct ftrace_ops *ops, unsigned long ip, int remove, in ftrace_set_addr()
5259 static struct ftrace_ops stub_ops = {
5410 static int check_direct_multi(struct ftrace_ops *ops) in check_direct_multi()
5458 int register_ftrace_direct_multi(struct ftrace_ops *ops, unsigned long addr) in register_ftrace_direct_multi()
5531 int unregister_ftrace_direct_multi(struct ftrace_ops *ops, unsigned long addr) in unregister_ftrace_direct_multi()
5568 int modify_ftrace_direct_multi(struct ftrace_ops *ops, unsigned long addr) in modify_ftrace_direct_multi()
5572 static struct ftrace_ops tmp_ops = { in modify_ftrace_direct_multi()
5633 int ftrace_set_filter_ip(struct ftrace_ops *ops, unsigned long ip, in ftrace_set_filter_ip()
5648 void ftrace_ops_set_global_filter(struct ftrace_ops *ops) in ftrace_ops_set_global_filter()
5659 ftrace_set_regex(struct ftrace_ops *ops, unsigned char *buf, int len, in ftrace_set_regex()
5675 int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf, in ftrace_set_filter()
5694 int ftrace_set_notrace(struct ftrace_ops *ops, unsigned char *buf, in ftrace_set_notrace()
5813 ftrace_set_early_filter(struct ftrace_ops *ops, char *buf, int enable) in ftrace_set_early_filter()
6331 void ftrace_create_filter_files(struct ftrace_ops *ops, in ftrace_create_filter_files()
6352 void ftrace_destroy_filter_files(struct ftrace_ops *ops) in ftrace_destroy_filter_files()
6520 struct ftrace_ops *op; in ftrace_get_trampoline_kallsym()
6544 struct ftrace_ops *ops; in referenced_filters()
7116 void __weak arch_ftrace_update_trampoline(struct ftrace_ops *ops) in arch_ftrace_update_trampoline()
7120 static void ftrace_update_trampoline(struct ftrace_ops *ops) in ftrace_update_trampoline()
7150 struct ftrace_ops global_ops = {
7170 static void ftrace_update_trampoline(struct ftrace_ops *ops) in ftrace_update_trampoline()
7202 struct ftrace_ops *ignored, struct ftrace_regs *fregs) in __ftrace_ops_list_func()
7205 struct ftrace_ops *op; in __ftrace_ops_list_func()
7261 struct ftrace_ops *op, struct ftrace_regs *fregs) in arch_ftrace_ops_list_func()
7279 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_ops_assist_func()
7305 ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops) in ftrace_ops_get_func()
7773 int register_ftrace_function(struct ftrace_ops *ops) in register_ftrace_function()
7795 int unregister_ftrace_function(struct ftrace_ops *ops) in unregister_ftrace_function()
7809 struct ftrace_ops *op; in is_permanent_ops_registered()