Lines Matching refs:tvar
170 struct probe_trace_arg *tvar) in convert_variable_location() argument
212 if (!tvar) in convert_variable_location()
216 tvar->value = zalloc(ret + 2); in convert_variable_location()
217 if (tvar->value == NULL) in convert_variable_location()
219 snprintf(tvar->value, ret + 2, "@%s", dwarf_diename(vr_die)); in convert_variable_location()
220 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
221 if (tvar->ref == NULL) in convert_variable_location()
252 if (!tvar) in convert_variable_location()
263 tvar->value = strdup(regs); in convert_variable_location()
264 if (tvar->value == NULL) in convert_variable_location()
268 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
269 if (tvar->ref == NULL) in convert_variable_location()
278 struct probe_trace_arg *tvar, in convert_variable_type() argument
281 struct probe_trace_arg_ref **ref_ptr = &tvar->ref; in convert_variable_type()
291 tvar->type = strdup(cast); in convert_variable_type()
292 return (tvar->type == NULL) ? -ENOMEM : 0; in convert_variable_type()
347 tvar->type = strdup(cast); in convert_variable_type()
348 return (tvar->type == NULL) ? -ENOMEM : 0; in convert_variable_type()
374 tvar->type = strdup(buf); in convert_variable_type()
375 if (tvar->type == NULL) in convert_variable_type()
519 &pf->sp_die, pf->tvar); in convert_variable()
527 pf->pvar->field, &pf->tvar->ref, in convert_variable()
532 ret = convert_variable_type(vr_die, pf->tvar, pf->pvar->type); in convert_variable()
546 pf->tvar->value = strdup(pf->pvar->var); in find_variable()
547 if (pf->tvar->value == NULL) in find_variable()
550 pf->tvar->type = strdup(pf->pvar->type); in find_variable()
551 if (pf->tvar->type == NULL) in find_variable()
555 pf->tvar->name = strdup(pf->pvar->name); in find_variable()
556 if (pf->tvar->name == NULL) in find_variable()
559 pf->tvar->name = NULL; in find_variable()
564 pf->tvar->name = strdup(pf->pvar->name); in find_variable()
572 pf->tvar->name = strdup(buf); in find_variable()
574 if (pf->tvar->name == NULL) in find_variable()
1201 pf->tvar = &tev->args[i]; in add_probe_trace_event()