/linux/scripts/dtc/ |
A D | srcpos.c | 174 struct srcfile_state *srcfile; in srcfile_push() local 179 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push() 181 srcfile->f = srcfile_relative_open(fname, &srcfile->name); in srcfile_push() 182 srcfile->dir = get_dirname(srcfile->name); in srcfile_push() 183 srcfile->prev = current_srcfile; in srcfile_push() 185 srcfile->lineno = 1; in srcfile_push() 186 srcfile->colno = 1; in srcfile_push() 188 current_srcfile = srcfile; in srcfile_push() 198 assert(srcfile); in srcfile_pop() 200 current_srcfile = srcfile->prev; in srcfile_pop() [all …]
|
/linux/tools/perf/util/ |
A 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() 109 h = list_entry(srcfile_list.prev, struct srcfile, nd); in find_srcfile() 119 h = malloc(sizeof(struct srcfile)); in find_srcfile() 159 struct srcfile *sf = find_srcfile(fn); in find_sourceline()
|
A D | srccode.h | 5 char *srcfile; member 11 state->srcfile = NULL; in srccode_state_init()
|
A D | dlfilter.c | 217 char *srcfile = NULL; in dlfilter__srcline() local 232 srcfile = get_srcline_split(map->dso, map__rip_2objdump(map, addr), &line); in dlfilter__srcline() 235 return srcfile; in dlfilter__srcline()
|
A D | sort.c | 536 if (!left->srcfile) in sort__srcfile_cmp() 537 left->srcfile = hist_entry__get_srcfile(left); in sort__srcfile_cmp() 538 if (!right->srcfile) in sort__srcfile_cmp() 539 right->srcfile = hist_entry__get_srcfile(right); in sort__srcfile_cmp() 541 return strcmp(right->srcfile, left->srcfile); in sort__srcfile_cmp() 547 if (!he->srcfile) in hist_entry__srcfile_snprintf() 548 he->srcfile = hist_entry__get_srcfile(he); in hist_entry__srcfile_snprintf() 550 return repsep_snprintf(bf, size, "%-.*s", width, he->srcfile); in hist_entry__srcfile_snprintf() 2033 MK_SORT_ENTRY_CHK(srcfile) in MK_SORT_ENTRY_CHK()
|
A D | sort.h | 140 char *srcfile; member
|
A D | hist.c | 226 if (h->srcfile) in hists__calc_col_len() 227 hists__new_col_len(hists, HISTC_SRCFILE, strlen(h->srcfile)); in hists__calc_col_len() 1319 if (he->srcfile && he->srcfile[0]) in hist_entry__delete() 1320 zfree(&he->srcfile); in hist_entry__delete() 1509 he->srcfile = NULL; in hierarchy_insert_entry() 1511 new->srcfile = NULL; in hierarchy_insert_entry()
|
A D | map.c | 450 zfree(&state->srcfile); in srccode_state_free()
|
/linux/lib/ |
A D | test_bitmap.c | 61 __check_eq_uint(const char *srcfile, unsigned int line, in __check_eq_uint() argument 66 srcfile, line, exp_uint, x); in __check_eq_uint() 74 __check_eq_bitmap(const char *srcfile, unsigned int line, in __check_eq_bitmap() argument 80 srcfile, line, in __check_eq_bitmap() 88 __check_eq_pbl(const char *srcfile, unsigned int line, in __check_eq_pbl() argument 95 srcfile, line, in __check_eq_pbl() 113 srcfile, line, in __check_eq_u32_array() 140 srcfile, line, size, offset); in __check_eq_clump8() 147 srcfile, line, offset); in __check_eq_clump8() 153 srcfile, line, exp, *clump); in __check_eq_clump8() [all …]
|
/linux/tools/perf/scripts/python/Perf-Trace-Util/ |
A D | Context.c | 141 char *srcfile = NULL; in perf_sample_src() local 155 srcfile = get_srcline_split(map->dso, map__rip_2objdump(map, addr), &line); in perf_sample_src() 158 if (srcfile) in perf_sample_src() 159 srccode = find_sourceline(srcfile, line, &len); in perf_sample_src() 160 result = Py_BuildValue("(sIs#)", srcfile, line, srccode, (Py_ssize_t)len); in perf_sample_src() 162 result = Py_BuildValue("(sI)", srcfile, line); in perf_sample_src() 165 free(srcfile); in perf_sample_src()
|
/linux/tools/perf/ |
A D | builtin-script.c | 1066 char *srcfile; in map__fprintf_srccode() local 1074 srcfile = get_srcline_split(map->dso, in map__fprintf_srccode() 1077 if (!srcfile) in map__fprintf_srccode() 1082 state->srcfile && in map__fprintf_srccode() 1083 !strcmp(state->srcfile, srcfile) && in map__fprintf_srccode() 1085 free(srcfile); in map__fprintf_srccode() 1089 srccode = find_sourceline(srcfile, line, &len); in map__fprintf_srccode() 1096 state->srcfile = srcfile; in map__fprintf_srccode() 1102 free(srcfile); in map__fprintf_srccode()
|
/linux/fs/cifs/ |
A D | smb2ops.c | 1830 struct cifsFileInfo *srcfile, in smb2_copychunk_range() argument 1850 rc = SMB2_request_res_key(xid, tlink_tcon(srcfile->tlink), in smb2_copychunk_range() 1851 srcfile->fid.persistent_fid, in smb2_copychunk_range() 1852 srcfile->fid.volatile_fid, pcchunk); in smb2_copychunk_range() 2080 struct cifsFileInfo *srcfile, in smb2_duplicate_extents() argument 2095 dup_ext_buf.VolatileFileHandle = srcfile->fid.volatile_fid; in smb2_duplicate_extents() 2096 dup_ext_buf.PersistentFileHandle = srcfile->fid.persistent_fid; in smb2_duplicate_extents()
|
/linux/tools/perf/Documentation/ |
A D | perf-report.txt | 92 - srcfile: file name of the source file of the samples. Requires dwarf
|