Lines Matching refs:srcline
42 static int inline_list__append(struct symbol *symbol, char *srcline, in inline_list__append() argument
52 ilist->srcline = srcline; in inline_list__append()
72 char *srcline; in srcline_from_fileline() local
80 if (asprintf(&srcline, "%s:%u", file, line) < 0) in srcline_from_fileline()
83 return srcline; in srcline_from_fileline()
287 char *srcline = NULL; in inline_list__append_dso_a2l() local
290 srcline = srcline_from_fileline(a2l->filename, a2l->line); in inline_list__append_dso_a2l()
292 return inline_list__append(inline_sym, srcline, node); in inline_list__append_dso_a2l()
687 char *srcline; in __get_srcline() local
701 srcline = srcline_from_fileline(file, line); in __get_srcline()
704 if (!srcline) in __get_srcline()
709 return srcline; in __get_srcline()
722 if (asprintf(&srcline, "%s+%" PRIu64, show_sym ? sym->name : "", in __get_srcline()
725 } else if (asprintf(&srcline, "%s[%" PRIx64 "]", dso->short_name, addr) < 0) in __get_srcline()
727 return srcline; in __get_srcline()
758 void free_srcline(char *srcline) in free_srcline() argument
760 if (srcline && strcmp(srcline, SRCLINE_UNKNOWN) != 0) in free_srcline()
761 free(srcline); in free_srcline()
772 char *srcline; member
776 void srcline__tree_insert(struct rb_root_cached *tree, u64 addr, char *srcline) in srcline__tree_insert() argument
790 node->srcline = srcline; in srcline__tree_insert()
819 return i->srcline; in srcline__tree_find()
834 free_srcline(pos->srcline); in srcline__tree_delete()
857 free_srcline(ilist->srcline); in inline_node__delete()