Function report | 
Source Code:kernel\trace\trace_events_hist.c | 
Create Date:2022-07-28 12:30:05 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:get_hist_field_flags
Proto:static const char *get_hist_field_flags(struct hist_field *hist_field)
Type:char
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct hist_field * | hist_field | 
| 2314 | const char * flags_str = NULL | 
| 2316 | If flags & HIST_FIELD_FL_HEX Then flags_str = "hex" | 
| 2318 | Else if flags & HIST_FIELD_FL_SYM Then flags_str = "sym" | 
| 2320 | Else if flags & HIST_FIELD_FL_SYM_OFFSET Then flags_str = "sym-offset" | 
| 2322 | Else if flags & HIST_FIELD_FL_EXECNAME Then flags_str = "execname" | 
| 2324 | Else if flags & HIST_FIELD_FL_SYSCALL Then flags_str = "syscall" | 
| 2326 | Else if flags & HIST_FIELD_FL_LOG2 Then flags_str = "log2" | 
| 2328 | Else if flags & HIST_FIELD_FL_TIMESTAMP_USECS Then flags_str = "usecs" | 
| 2331 | Return flags_str | 
| Name | Describe | 
|---|---|
| expr_field_str | |
| 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  |