Function report |
Source Code:kernel\trace\trace_probe.c |
Create Date:2022-07-28 12:42:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:parse_probe_vars
Proto:static int parse_probe_vars(char *arg, const struct fetch_type *t, struct fetch_insn *code, unsigned int flags, int offs)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | arg | |
const struct fetch_type * | t | |
struct fetch_insn * | code | |
unsigned int | flags | |
int | offs |
276 | ret = 0 |
288 | op = Stack pointer |
291 | If ret Then |
292 | Go to inval_var |
293 | Else if flags & TPARG_FL_KERNEL && param > PARAM_MAX_STACK Then |
297 | Else |
298 | op = Stack : .param = index |
301 | Else Go to inval_var |
304 | op = Current comm |
319 | Else Go to inval_var |
322 | Return ret |
324 | inval_var : |
325 | trace_probe_log_err(offs, BAD_VAR) |
326 | Return -EINVAL |
Name | Describe |
---|---|
parse_probe_arg | Recursive argument parser |
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 |