Home
last modified time | relevance | path

Searched refs:parg (Results 1 – 2 of 2) sorted by relevance

/kernel/trace/
Dtrace_probe.c567 struct probe_arg *parg, unsigned int flags, int offset) in traceprobe_parse_probe_arg_body() argument
589 parg->comm = kstrdup(arg, GFP_KERNEL); in traceprobe_parse_probe_arg_body()
590 if (!parg->comm) in traceprobe_parse_probe_arg_body()
612 if (kstrtouint(t2, 0, &parg->count) || !parg->count) { in traceprobe_parse_probe_arg_body()
617 if (parg->count > MAX_ARRAY_LEN) { in traceprobe_parse_probe_arg_body()
633 if (parg->count || (t && strcmp(t, "string"))) in traceprobe_parse_probe_arg_body()
635 parg->type = find_fetch_type("string"); in traceprobe_parse_probe_arg_body()
637 parg->type = find_fetch_type(t); in traceprobe_parse_probe_arg_body()
638 if (!parg->type) { in traceprobe_parse_probe_arg_body()
642 parg->offset = *size; in traceprobe_parse_probe_arg_body()
[all …]
Dtrace_eprobe.c232 struct probe_arg *parg = &ep->tp.args[i]; in trace_eprobe_tp_arg_update() local
239 if (!strcmp(parg->code->data, field->name)) { in trace_eprobe_tp_arg_update()
240 kfree(parg->code->data); in trace_eprobe_tp_arg_update()
241 parg->code->data = field; in trace_eprobe_tp_arg_update()
250 if (strcmp(parg->code->data, "COMM") == 0 || in trace_eprobe_tp_arg_update()
251 strcmp(parg->code->data, "comm") == 0) { in trace_eprobe_tp_arg_update()
252 parg->code->op = FETCH_OP_COMM; in trace_eprobe_tp_arg_update()
256 kfree(parg->code->data); in trace_eprobe_tp_arg_update()
257 parg->code->data = NULL; in trace_eprobe_tp_arg_update()