Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:33:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hist_trigger_match
Proto:static bool hist_trigger_match(struct event_trigger_data *data, struct event_trigger_data *data_test, struct event_trigger_data *named_data, bool ignore_filter)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct event_trigger_data * | data | |
struct event_trigger_data * | data_test | |
struct event_trigger_data * | named_data | |
bool | ignore_filter |
5876 | If named_data && named_data != data_test && named_data != named_data Then Return false |
5883 | hist_data = private_data |
5884 | hist_data_test = private_data |
5886 | If n_vals != n_vals || n_fields != n_fields || n_sort_keys != n_sort_keys Then Return false |
5891 | If Not ignore_filter Then |
5892 | If filter_str && Not filter_str || Not filter_str && filter_str Then Return false |
5899 | key_field_test = fields[i] |
5903 | If Not compatible_field(field, field) Then Return false |
5918 | When i < n_sort_keys cycle |
5920 | sort_key_test = sort_keys[i] |
5922 | If field_idx != field_idx || descending != descending Then Return false |
5927 | If Not ignore_filter && filter_str && strcmp(filter_str, filter_str) != 0 Then Return false |
5931 | If Not actions_match(hist_data, hist_data_test) Then Return false |
5934 | Return true |
Name | Describe |
---|---|
hist_register_trigger | |
have_hist_trigger_match | |
hist_trigger_check_refs | |
hist_unregister_trigger |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |