Lines Matching refs:tvar
264 struct probe_trace_arg *tvar) in convert_variable_location() argument
288 if (!tvar) in convert_variable_location()
292 tvar->value = zalloc(ret + 2); in convert_variable_location()
293 if (tvar->value == NULL) in convert_variable_location()
295 snprintf(tvar->value, ret + 2, "@%s", dwarf_diename(vr_die)); in convert_variable_location()
296 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
297 if (tvar->ref == NULL) in convert_variable_location()
328 if (!tvar) in convert_variable_location()
339 tvar->value = strdup(regs); in convert_variable_location()
340 if (tvar->value == NULL) in convert_variable_location()
344 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
345 if (tvar->ref == NULL) in convert_variable_location()
354 struct probe_trace_arg *tvar, in convert_variable_type() argument
357 struct probe_trace_arg_ref **ref_ptr = &tvar->ref; in convert_variable_type()
366 tvar->type = strdup(cast); in convert_variable_type()
367 return (tvar->type == NULL) ? -ENOMEM : 0; in convert_variable_type()
422 tvar->type = strdup(cast); in convert_variable_type()
423 return (tvar->type == NULL) ? -ENOMEM : 0; in convert_variable_type()
449 tvar->type = strdup(buf); in convert_variable_type()
450 if (tvar->type == NULL) in convert_variable_type()
588 pf->tvar); in convert_variable()
596 pf->pvar->field, &pf->tvar->ref, in convert_variable()
601 ret = convert_variable_type(vr_die, pf->tvar, pf->pvar->type); in convert_variable()
615 pf->tvar->value = strdup(pf->pvar->var); in find_variable()
616 if (pf->tvar->value == NULL) in find_variable()
619 pf->tvar->type = strdup(pf->pvar->type); in find_variable()
620 if (pf->tvar->type == NULL) in find_variable()
624 pf->tvar->name = strdup(pf->pvar->name); in find_variable()
625 if (pf->tvar->name == NULL) in find_variable()
628 pf->tvar->name = NULL; in find_variable()
633 pf->tvar->name = strdup(pf->pvar->name); in find_variable()
641 pf->tvar->name = strdup(buf); in find_variable()
643 if (pf->tvar->name == NULL) in find_variable()
1156 pf->tvar = &tev->args[i]; in add_probe_trace_event()