Lines Matching refs:tvar
60 struct probe_trace_arg *tvar) in convert_variable_location() argument
80 if (!tvar) in convert_variable_location()
84 ret = asprintf(&tvar->value, "\\%ld", (long)snum); in convert_variable_location()
126 if (!tvar) in convert_variable_location()
130 tvar->value = zalloc(ret + 2); in convert_variable_location()
131 if (tvar->value == NULL) in convert_variable_location()
133 snprintf(tvar->value, ret + 2, "@%s", dwarf_diename(vr_die)); in convert_variable_location()
134 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
135 if (tvar->ref == NULL) in convert_variable_location()
166 if (!tvar) in convert_variable_location()
177 tvar->value = strdup(regs); in convert_variable_location()
178 if (tvar->value == NULL) in convert_variable_location()
182 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
183 if (tvar->ref == NULL) in convert_variable_location()
190 struct probe_trace_arg *tvar, in convert_variable_type() argument
193 struct probe_trace_arg_ref **ref_ptr = &tvar->ref; in convert_variable_type()
207 tvar->type = strdup(cast); in convert_variable_type()
208 return (tvar->type == NULL) ? -ENOMEM : 0; in convert_variable_type()
265 tvar->type = strdup(cast); in convert_variable_type()
266 return (tvar->type == NULL) ? -ENOMEM : 0; in convert_variable_type()
302 tvar->type = strdup(buf); in convert_variable_type()
303 if (tvar->type == NULL) in convert_variable_type()
454 &pf->sp_die, pf->machine, pf->tvar); in convert_variable()
464 pf->pvar->field, &pf->tvar->ref, in convert_variable()
469 ret = convert_variable_type(vr_die, pf->tvar, pf->pvar->type, in convert_variable()
484 return copy_to_probe_trace_arg(pf->tvar, pf->pvar); in find_variable()
487 pf->tvar->name = strdup(pf->pvar->name); in find_variable()
495 pf->tvar->name = buf; in find_variable()
497 if (pf->tvar->name == NULL) in find_variable()
1300 pf->tvar = &tev->args[i]; in add_probe_trace_event()