Lines Matching refs:tvar
178 struct probe_trace_arg *tvar) in convert_variable_location() argument
198 if (!tvar) in convert_variable_location()
202 ret = asprintf(&tvar->value, "\\%ld", (long)snum); in convert_variable_location()
244 if (!tvar) in convert_variable_location()
248 tvar->value = zalloc(ret + 2); in convert_variable_location()
249 if (tvar->value == NULL) in convert_variable_location()
251 snprintf(tvar->value, ret + 2, "@%s", dwarf_diename(vr_die)); in convert_variable_location()
252 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
253 if (tvar->ref == NULL) in convert_variable_location()
284 if (!tvar) in convert_variable_location()
295 tvar->value = strdup(regs); in convert_variable_location()
296 if (tvar->value == NULL) in convert_variable_location()
300 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
301 if (tvar->ref == NULL) in convert_variable_location()
310 struct probe_trace_arg *tvar, in convert_variable_type() argument
313 struct probe_trace_arg_ref **ref_ptr = &tvar->ref; in convert_variable_type()
327 tvar->type = strdup(cast); in convert_variable_type()
328 return (tvar->type == NULL) ? -ENOMEM : 0; in convert_variable_type()
385 tvar->type = strdup(cast); in convert_variable_type()
386 return (tvar->type == NULL) ? -ENOMEM : 0; in convert_variable_type()
422 tvar->type = strdup(buf); in convert_variable_type()
423 if (tvar->type == NULL) in convert_variable_type()
574 &pf->sp_die, pf->machine, pf->tvar); in convert_variable()
584 pf->pvar->field, &pf->tvar->ref, in convert_variable()
589 ret = convert_variable_type(vr_die, pf->tvar, pf->pvar->type, in convert_variable()
604 return copy_to_probe_trace_arg(pf->tvar, pf->pvar); in find_variable()
607 pf->tvar->name = strdup(pf->pvar->name); in find_variable()
615 pf->tvar->name = buf; in find_variable()
617 if (pf->tvar->name == NULL) in find_variable()
1420 pf->tvar = &tev->args[i]; in add_probe_trace_event()