Lines Matching refs:tvar
173 struct probe_trace_arg *tvar) in convert_variable_location() argument
193 if (!tvar) in convert_variable_location()
197 ret = asprintf(&tvar->value, "\\%ld", (long)snum); in convert_variable_location()
239 if (!tvar) in convert_variable_location()
243 tvar->value = zalloc(ret + 2); in convert_variable_location()
244 if (tvar->value == NULL) in convert_variable_location()
246 snprintf(tvar->value, ret + 2, "@%s", dwarf_diename(vr_die)); in convert_variable_location()
247 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
248 if (tvar->ref == NULL) in convert_variable_location()
279 if (!tvar) in convert_variable_location()
290 tvar->value = strdup(regs); in convert_variable_location()
291 if (tvar->value == NULL) in convert_variable_location()
295 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
296 if (tvar->ref == NULL) in convert_variable_location()
305 struct probe_trace_arg *tvar, in convert_variable_type() argument
308 struct probe_trace_arg_ref **ref_ptr = &tvar->ref; in convert_variable_type()
322 tvar->type = strdup(cast); in convert_variable_type()
323 return (tvar->type == NULL) ? -ENOMEM : 0; in convert_variable_type()
380 tvar->type = strdup(cast); in convert_variable_type()
381 return (tvar->type == NULL) ? -ENOMEM : 0; in convert_variable_type()
417 tvar->type = strdup(buf); in convert_variable_type()
418 if (tvar->type == NULL) in convert_variable_type()
569 &pf->sp_die, pf->machine, pf->tvar); in convert_variable()
579 pf->pvar->field, &pf->tvar->ref, in convert_variable()
584 ret = convert_variable_type(vr_die, pf->tvar, pf->pvar->type, in convert_variable()
599 return copy_to_probe_trace_arg(pf->tvar, pf->pvar); in find_variable()
602 pf->tvar->name = strdup(pf->pvar->name); in find_variable()
610 pf->tvar->name = buf; in find_variable()
612 if (pf->tvar->name == NULL) in find_variable()
1404 pf->tvar = &tev->args[i]; in add_probe_trace_event()