/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_events_trigger.c | 22 if (data->cmd_ops->set_filter) in trigger_data_free() 23 data->cmd_ops->set_filter(NULL, data, NULL); in trigger_data_free() 79 if (event_command_post_trigger(data->cmd_ops)) { in event_triggers_call() 80 tt |= data->cmd_ops->trigger_type; in event_triggers_call() 124 if (data->cmd_ops->trigger_type & tt) in event_triggers_post_call() 540 if (data->filter || event_command_post_trigger(data->cmd_ops) || in update_cond_flag() 541 event_command_needs_rec(data->cmd_ops)) { in update_cond_flag() 576 if (test->cmd_ops->trigger_type == data->cmd_ops->trigger_type) { in register_trigger() 620 if (iter->cmd_ops in unregister_trigger() 827 event_trigger_alloc(struct event_command *cmd_ops, char *cmd, char *param, void *private_data) event_trigger_alloc() argument 897 event_trigger_set_filter(struct event_command *cmd_ops, struct trace_event_file *file, char *param, struct event_trigger_data *trigger_data) event_trigger_set_filter() argument 915 event_trigger_reset_filter(struct event_command *cmd_ops, struct event_trigger_data *trigger_data) event_trigger_reset_filter() argument 934 event_trigger_register(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, struct event_trigger_data *trigger_data) event_trigger_register() argument 952 event_trigger_unregister(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, struct event_trigger_data *trigger_data) event_trigger_unregister() argument 981 event_trigger_parse(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, char *cmd, char *param_and_filter) event_trigger_parse() argument 1736 event_enable_trigger_parse(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, char *cmd, char *param_and_filter) event_enable_trigger_parse() argument [all...] |
H A D | trace.h | 1583 struct event_command *cmd_ops; member 1610 extern int event_enable_trigger_parse(struct event_command *cmd_ops, 1647 event_trigger_alloc(struct event_command *cmd_ops, 1653 extern int event_trigger_set_filter(struct event_command *cmd_ops, 1657 extern void event_trigger_reset_filter(struct event_command *cmd_ops, 1659 extern int event_trigger_register(struct event_command *cmd_ops, 1663 extern void event_trigger_unregister(struct event_command *cmd_ops, 1813 int (*parse)(struct event_command *cmd_ops, 1863 static inline bool event_command_post_trigger(struct event_command *cmd_ops) in event_command_post_trigger() argument 1865 return cmd_ops in event_command_post_trigger() 1868 event_command_needs_rec(struct event_command *cmd_ops) event_command_needs_rec() argument [all...] |
H A D | trace_events_hist.c | 1143 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) { in find_var() 1195 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) { in find_file_var() 2852 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) { in find_trigger_filter() 2862 static int event_hist_trigger_parse(struct event_command *cmd_ops, 2908 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) { in find_compatible_hist() 5619 if (data->cmd_ops->trigger_type == ETT_EVENT_HIST) in hist_show() 5898 if (data->cmd_ops->trigger_type == ETT_EVENT_HIST) in hist_debug_show() 6305 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) { in existing_hist_update_only() 6349 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) { in hist_register_trigger() 6428 if (test->cmd_ops in have_hist_trigger_match() 6547 event_hist_trigger_parse(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, char *cmd, char *param_and_filter) event_hist_trigger_parse() argument [all...] |
H A D | trace_eprobe.c | 488 static int eprobe_trigger_cmd_parse(struct event_command *cmd_ops, in eprobe_trigger_cmd_parse() argument 552 trigger->cmd_ops = &event_trigger_cmd; in new_eprobe_trigger()
|
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | trace_events_trigger.c | 22 if (data->cmd_ops->set_filter) in trigger_data_free() 23 data->cmd_ops->set_filter(NULL, data, NULL); in trigger_data_free() 76 if (event_command_post_trigger(data->cmd_ops)) { in event_triggers_call() 77 tt |= data->cmd_ops->trigger_type; in event_triggers_call() 107 if (data->cmd_ops->trigger_type & tt) in event_triggers_post_call() 514 if (data->filter || event_command_post_trigger(data->cmd_ops) || in update_cond_flag() 515 event_command_needs_rec(data->cmd_ops)) { in update_cond_flag() 551 if (test->cmd_ops->trigger_type == data->cmd_ops->trigger_type) { in register_trigger() 598 if (data->cmd_ops in unregister_trigger() 628 event_trigger_callback(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, char *cmd, char *param) event_trigger_callback() argument 1408 event_enable_trigger_func(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, char *cmd, char *param) event_enable_trigger_func() argument [all...] |
H A D | trace.h | 1723 struct event_command *cmd_ops; member 1752 extern int event_enable_trigger_func(struct event_command *cmd_ops, 1920 int (*func)(struct event_command *cmd_ops, 1971 static inline bool event_command_post_trigger(struct event_command *cmd_ops) in event_command_post_trigger() argument 1973 return cmd_ops->flags & EVENT_CMD_FL_POST_TRIGGER; in event_command_post_trigger() 1976 static inline bool event_command_needs_rec(struct event_command *cmd_ops) in event_command_needs_rec() argument 1978 return cmd_ops->flags & EVENT_CMD_FL_NEEDS_REC; in event_command_needs_rec()
|
H A D | trace_events_hist.c | 900 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) { in find_var() 952 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) { in find_file_var() 2347 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) { in find_trigger_filter() 2357 static int event_hist_trigger_func(struct event_command *cmd_ops, 2402 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) { in find_compatible_hist() 4812 if (data->cmd_ops->trigger_type == ETT_EVENT_HIST) in hist_show() 5084 if (data->cmd_ops->trigger_type == ETT_EVENT_HIST) in hist_debug_show() 5480 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) { in hist_register_trigger() 5569 if (test->cmd_ops->trigger_type == ETT_EVENT_HIST) { in have_hist_trigger_match() 5592 if (test->cmd_ops in hist_trigger_check_refs() 5689 event_hist_trigger_func(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, char *cmd, char *param) event_hist_trigger_func() argument [all...] |