Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:33:31 |
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_print
Proto:static void hist_field_print(struct seq_file *m, struct hist_field *hist_field)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct seq_file * | m | |
struct hist_field * | hist_field |
5599 | field_name = hist_field_name(hist_field, 0) |
5601 | If name Then seq_printf(m, "%s=", name) |
5604 | If flags & HIST_FIELD_FL_CPU Then seq_puts(m, "cpu") |
5606 | Else if field_name Then |
5607 | If flags & HIST_FIELD_FL_VAR_REF || flags & HIST_FIELD_FL_ALIAS Then seq_putc(m, '$') |
5610 | seq_printf(m, "%s", field_name) |
5611 | Else if flags & HIST_FIELD_FL_TIMESTAMP Then seq_puts(m, "common_timestamp") |
5614 | If flags Then |
5615 | If Not (flags & HIST_FIELD_FL_VAR_REF) && Not (flags & HIST_FIELD_FL_EXPR) Then |
5617 | flags = get_hist_field_flags(hist_field) |
5619 | If flags Then seq_printf(m, ".%s", flags) |
Name | Describe |
---|---|
event_hist_trigger_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 |