Searched refs:srcfile (Results 1 – 8 of 8) sorted by relevance
/tools/perf/util/ |
D | srccode.c | 25 struct srcfile { struct 77 static void free_srcfile(struct srcfile *sf) in free_srcfile() 89 static struct srcfile *find_srcfile(char *fn) in find_srcfile() 92 struct srcfile *h; in find_srcfile() 110 h = list_entry(srcfile_list.prev, struct srcfile, nd); in find_srcfile() 120 h = malloc(sizeof(struct srcfile)); in find_srcfile() 160 struct srcfile *sf = find_srcfile(fn); in find_sourceline()
|
D | srccode.h | 5 char *srcfile; member 11 state->srcfile = NULL; in srccode_state_init()
|
D | sort.h | 137 char *srcfile; member
|
D | sort.c | 533 if (!left->srcfile) in sort__srcfile_cmp() 534 left->srcfile = hist_entry__get_srcfile(left); in sort__srcfile_cmp() 535 if (!right->srcfile) in sort__srcfile_cmp() 536 right->srcfile = hist_entry__get_srcfile(right); in sort__srcfile_cmp() 538 return strcmp(right->srcfile, left->srcfile); in sort__srcfile_cmp() 544 if (!he->srcfile) in hist_entry__srcfile_snprintf() 545 he->srcfile = hist_entry__get_srcfile(he); in hist_entry__srcfile_snprintf() 547 return repsep_snprintf(bf, size, "%-.*s", width, he->srcfile); in hist_entry__srcfile_snprintf() 1877 MK_SORT_ENTRY_CHK(srcfile) in MK_SORT_ENTRY_CHK()
|
D | hist.c | 218 if (h->srcfile) in hists__calc_col_len() 219 hists__new_col_len(hists, HISTC_SRCFILE, strlen(h->srcfile)); in hists__calc_col_len() 1313 if (he->srcfile && he->srcfile[0]) in hist_entry__delete() 1314 zfree(&he->srcfile); in hist_entry__delete() 1503 he->srcfile = NULL; in hierarchy_insert_entry() 1505 new->srcfile = NULL; in hierarchy_insert_entry()
|
D | map.c | 446 zfree(&state->srcfile); in srccode_state_free()
|
/tools/perf/ |
D | builtin-script.c | 1023 char *srcfile; in map__fprintf_srccode() local 1031 srcfile = get_srcline_split(map->dso, in map__fprintf_srccode() 1034 if (!srcfile) in map__fprintf_srccode() 1039 state->srcfile && in map__fprintf_srccode() 1040 !strcmp(state->srcfile, srcfile) && in map__fprintf_srccode() 1042 free(srcfile); in map__fprintf_srccode() 1046 srccode = find_sourceline(srcfile, line, &len); in map__fprintf_srccode() 1053 state->srcfile = srcfile; in map__fprintf_srccode() 1059 free(srcfile); in map__fprintf_srccode()
|
/tools/perf/Documentation/ |
D | perf-report.txt | 92 - srcfile: file name of the source file of the samples. Requires dwarf
|