Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:30:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_expr_operands
Proto:static int check_expr_operands(struct trace_array *tr, struct hist_field *operand1, struct hist_field *operand2)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_array * | tr | |
struct hist_field * | operand1 | |
struct hist_field * | operand2 |
3016 | operand1_flags = flags |
3017 | operand2_flags = flags |
3019 | If operand1_flags & HIST_FIELD_FL_VAR_REF || operand1_flags & HIST_FIELD_FL_ALIAS Then |
3023 | var = find_var_field(hist_data, * The name field is used for EXPR and VAR_REF fields. VAR * fields contain the variable name in var.name.) |
3026 | operand1_flags = flags |
3029 | If operand2_flags & HIST_FIELD_FL_VAR_REF || operand2_flags & HIST_FIELD_FL_ALIAS Then |
3033 | var = find_var_field(hist_data, * The name field is used for EXPR and VAR_REF fields. VAR * fields contain the variable name in var.name.) |
3036 | operand2_flags = flags |
3039 | If (operand1_flags & HIST_FIELD_FL_TIMESTAMP_USECS) != (operand2_flags & HIST_FIELD_FL_TIMESTAMP_USECS) Then |
3041 | hist_err(tr, HIST_ERR_TIMESTAMP_MISMATCH, 0) |
3042 | Return -EINVAL |
3045 | Return 0 |
Name | Describe |
---|---|
parse_expr |
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 |