Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:30:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:expr_str
Proto:static char *expr_str(struct hist_field *field, unsigned int level)
Type:char
Parameter:
Type | Parameter | Name |
---|---|---|
struct hist_field * | field | |
unsigned int | level |
2355 | If level > 1 Then Return NULL |
2358 | expr = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
2359 | If Not expr Then Return NULL |
2362 | If Not operands[0] Then |
2363 | expr_field_str(field, expr) |
2364 | Return expr |
2367 | If operator == FIELD_OP_UNARY_MINUS Then |
2384 | expr_field_str(operands[0], expr) |
2387 | Case operator == FIELD_OP_MINUS |
2390 | Case operator == FIELD_OP_PLUS |
2393 | Default |
2398 | expr_field_str(operands[1], expr) |
2400 | Return expr |
Name | Describe |
---|---|
expr_str | |
parse_unary | |
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 |