Home
last modified time | relevance | path

Searched refs:srcfile (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/scripts/dtc/
A Dsrcpos.c174 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-6.3-rc2/tools/perf/util/
A Dsrccode.c25 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 Dsrccode.h5 char *srcfile; member
11 state->srcfile = NULL; in srccode_state_init()
A Dsort.c614 if (!left->srcfile) in sort__srcfile_cmp()
615 left->srcfile = hist_entry__get_srcfile(left); in sort__srcfile_cmp()
616 if (!right->srcfile) in sort__srcfile_cmp()
619 return strcmp(right->srcfile, left->srcfile); in sort__srcfile_cmp()
625 if (!left->srcfile) in sort__srcfile_collapse()
626 left->srcfile = hist_entry__get_srcfile(left); in sort__srcfile_collapse()
627 if (!right->srcfile) in sort__srcfile_collapse()
630 return strcmp(right->srcfile, left->srcfile); in sort__srcfile_collapse()
641 if (!he->srcfile) in sort__srcfile_init()
642 he->srcfile = hist_entry__get_srcfile(he); in sort__srcfile_init()
[all …]
A Ddlfilter.c217 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 Dsort.h140 char *srcfile; member
A Dhist.c231 if (h->srcfile) in hists__calc_col_len()
232 hists__new_col_len(hists, HISTC_SRCFILE, strlen(h->srcfile)); in hists__calc_col_len()
1324 if (he->srcfile && he->srcfile[0]) in hist_entry__delete()
1325 zfree(&he->srcfile); in hist_entry__delete()
1514 he->srcfile = NULL; in hierarchy_insert_entry()
1516 new->srcfile = NULL; in hierarchy_insert_entry()
A Dmap.c456 zfree(&state->srcfile); in srccode_state_free()
/linux-6.3-rc2/tools/perf/scripts/python/Perf-Trace-Util/
A DContext.c141 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-6.3-rc2/lib/
A Dtest_bitmap.c63 __check_eq_uint(const char *srcfile, unsigned int line, in __check_eq_uint() argument
68 srcfile, line, exp_uint, x); in __check_eq_uint()
76 __check_eq_bitmap(const char *srcfile, unsigned int line, in __check_eq_bitmap() argument
82 srcfile, line, in __check_eq_bitmap()
90 __check_eq_pbl(const char *srcfile, unsigned int line, in __check_eq_pbl() argument
97 srcfile, line, in __check_eq_pbl()
115 srcfile, line, in __check_eq_u32_array()
142 srcfile, line, size, offset); in __check_eq_clump8()
149 srcfile, line, offset); in __check_eq_clump8()
155 srcfile, line, exp, *clump); in __check_eq_clump8()
[all …]
/linux-6.3-rc2/tools/perf/
A Dbuiltin-script.c1102 char *srcfile; in map__fprintf_srccode() local
1110 srcfile = get_srcline_split(map->dso, in map__fprintf_srccode()
1113 if (!srcfile) in map__fprintf_srccode()
1118 state->srcfile && in map__fprintf_srccode()
1119 !strcmp(state->srcfile, srcfile) && in map__fprintf_srccode()
1121 free(srcfile); in map__fprintf_srccode()
1125 srccode = find_sourceline(srcfile, line, &len); in map__fprintf_srccode()
1132 state->srcfile = srcfile; in map__fprintf_srccode()
1138 free(srcfile); in map__fprintf_srccode()
/linux-6.3-rc2/fs/cifs/
A Dsmb2ops.c1629 struct cifsFileInfo *srcfile, in smb2_copychunk_range() argument
1648 rc = SMB2_request_res_key(xid, tlink_tcon(srcfile->tlink), in smb2_copychunk_range()
1649 srcfile->fid.persistent_fid, in smb2_copychunk_range()
1650 srcfile->fid.volatile_fid, pcchunk); in smb2_copychunk_range()
1876 struct cifsFileInfo *srcfile, in smb2_duplicate_extents() argument
1891 dup_ext_buf.VolatileFileHandle = srcfile->fid.volatile_fid; in smb2_duplicate_extents()
1892 dup_ext_buf.PersistentFileHandle = srcfile->fid.persistent_fid; in smb2_duplicate_extents()
/linux-6.3-rc2/tools/perf/Documentation/
A Dperf-report.txt92 - srcfile: file name of the source file of the samples. Requires dwarf

Completed in 43 milliseconds