Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:29:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hist_field_name
Proto:static const char *hist_field_name(struct hist_field *field, unsigned int level)
Type:char
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct hist_field * | field | |
| unsigned int | level |
| 1967 | field_name = "" |
| 1969 | If level > 1 Then Return field_name |
| 1972 | If field Then field_name = name |
| 1974 | Else if flags & HIST_FIELD_FL_LOG2 || flags & HIST_FIELD_FL_ALIAS Then field_name = hist_field_name(operands[0], ++level) |
| 1977 | Else if flags & HIST_FIELD_FL_CPU Then field_name = "cpu" |
| 1979 | Else if flags & HIST_FIELD_FL_EXPR || flags & HIST_FIELD_FL_VAR_REF Then |
| 1981 | If system Then |
| 1992 | Else if flags & HIST_FIELD_FL_TIMESTAMP Then field_name = "common_timestamp" |
| 1995 | If (field_name == NULL) Then field_name = "" |
| 1998 | Return field_name |
| Name | Describe |
|---|---|
| hist_field_name | |
| expr_field_str | |
| create_sort_keys | |
| hist_trigger_print_key | |
| hist_trigger_entry_print | |
| hist_field_print |
| 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 |