Home
last modified time | relevance | path

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

/linux-6.6.21/scripts/dtc/
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()
191 set_initial_path(srcfile->name); in srcfile_push()
196 struct srcfile_state *srcfile = current_srcfile; in srcfile_pop() local
[all …]
/linux-6.6.21/tools/perf/util/
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()
Dsrccode.h5 char *srcfile; member
11 state->srcfile = NULL; in srccode_state_init()
Ddlfilter.c252 char *srcfile = NULL; in dlfilter__srcline() local
269 srcfile = get_srcline_split(dso, map__rip_2objdump(map, addr), &line); in dlfilter__srcline()
272 return srcfile; in dlfilter__srcline()
Dsort.h141 char *srcfile; member
Dsort.c666 if (!left->srcfile) in sort__srcfile_collapse()
667 left->srcfile = hist_entry__get_srcfile(left); in sort__srcfile_collapse()
668 if (!right->srcfile) in sort__srcfile_collapse()
669 right->srcfile = hist_entry__get_srcfile(right); in sort__srcfile_collapse()
671 return strcmp(right->srcfile, left->srcfile); in sort__srcfile_collapse()
682 if (!he->srcfile) in sort__srcfile_init()
683 he->srcfile = hist_entry__get_srcfile(he); in sort__srcfile_init()
689 return repsep_snprintf(bf, size, "%-.*s", width, he->srcfile); in hist_entry__srcfile_snprintf()
2369 MK_SORT_ENTRY_CHK(srcfile) in MK_SORT_ENTRY_CHK()
Dhist.c232 if (h->srcfile) in hists__calc_col_len()
233 hists__new_col_len(hists, HISTC_SRCFILE, strlen(h->srcfile)); in hists__calc_col_len()
1346 if (he->srcfile && he->srcfile[0]) in hist_entry__delete()
1347 zfree(&he->srcfile); in hist_entry__delete()
1536 he->srcfile = NULL; in hierarchy_insert_entry()
1538 new->srcfile = NULL; in hierarchy_insert_entry()
Dmap.c514 zfree(&state->srcfile); in srccode_state_free()
/linux-6.6.21/tools/perf/scripts/python/Perf-Trace-Util/
DContext.c144 char *srcfile = NULL; in perf_sample_src() local
160 srcfile = get_srcline_split(dso, map__rip_2objdump(map, addr), &line); in perf_sample_src()
163 if (srcfile) in perf_sample_src()
164 srccode = find_sourceline(srcfile, line, &len); in perf_sample_src()
165 result = Py_BuildValue("(sIs#)", srcfile, line, srccode, (Py_ssize_t)len); in perf_sample_src()
167 result = Py_BuildValue("(sI)", srcfile, line); in perf_sample_src()
170 free(srcfile); in perf_sample_src()
/linux-6.6.21/lib/
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()
105 __check_eq_u32_array(const char *srcfile, unsigned int line,
109 __check_eq_u32_array(const char *srcfile, unsigned int line, in __check_eq_u32_array() argument
115 srcfile, line, in __check_eq_u32_array()
121 pr_warn("[%s:%u] array contents differ\n", srcfile, line); in __check_eq_u32_array()
[all …]
/linux-6.6.21/tools/perf/
Dbuiltin-script.c1103 char *srcfile; in map__fprintf_srccode() local
1112 srcfile = get_srcline_split(dso, in map__fprintf_srccode()
1115 if (!srcfile) in map__fprintf_srccode()
1120 state->srcfile && in map__fprintf_srccode()
1121 !strcmp(state->srcfile, srcfile) && in map__fprintf_srccode()
1123 free(srcfile); in map__fprintf_srccode()
1127 srccode = find_sourceline(srcfile, line, &len); in map__fprintf_srccode()
1134 state->srcfile = srcfile; in map__fprintf_srccode()
1140 free(srcfile); in map__fprintf_srccode()
/linux-6.6.21/fs/smb/client/
Dsmb2ops.c1709 struct cifsFileInfo *srcfile, in smb2_copychunk_range() argument
1728 rc = SMB2_request_res_key(xid, tlink_tcon(srcfile->tlink), in smb2_copychunk_range()
1729 srcfile->fid.persistent_fid, in smb2_copychunk_range()
1730 srcfile->fid.volatile_fid, pcchunk); in smb2_copychunk_range()
1956 struct cifsFileInfo *srcfile, in smb2_duplicate_extents() argument
1971 dup_ext_buf.VolatileFileHandle = srcfile->fid.volatile_fid; in smb2_duplicate_extents()
1972 dup_ext_buf.PersistentFileHandle = srcfile->fid.persistent_fid; in smb2_duplicate_extents()
/linux-6.6.21/tools/perf/Documentation/
Dperf-report.txt92 - srcfile: file name of the source file of the samples. Requires dwarf