Home
last modified time | relevance | path

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

/linux-6.12.1/scripts/dtc/
Dsrcpos.c176 struct srcfile_state *srcfile; in srcfile_push() local
181 srcfile = xmalloc(sizeof(*srcfile)); in srcfile_push()
183 srcfile->f = srcfile_relative_open(fname, &srcfile->name); in srcfile_push()
184 srcfile->dir = get_dirname(srcfile->name); in srcfile_push()
185 srcfile->prev = current_srcfile; in srcfile_push()
187 srcfile->lineno = 1; in srcfile_push()
188 srcfile->colno = 1; in srcfile_push()
190 current_srcfile = srcfile; in srcfile_push()
193 set_initial_path(srcfile->name); in srcfile_push()
198 struct srcfile_state *srcfile = current_srcfile; in srcfile_pop() local
[all …]
/linux-6.12.1/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.c254 char *srcfile = NULL; in dlfilter__srcline() local
271 srcfile = get_srcline_split(dso, map__rip_2objdump(map, addr), &line); in dlfilter__srcline()
274 return srcfile; in dlfilter__srcline()
Dsort.c714 if (!left->srcfile) in sort__srcfile_collapse()
715 left->srcfile = hist_entry__get_srcfile(left); in sort__srcfile_collapse()
716 if (!right->srcfile) in sort__srcfile_collapse()
717 right->srcfile = hist_entry__get_srcfile(right); in sort__srcfile_collapse()
719 return strcmp(right->srcfile, left->srcfile); in sort__srcfile_collapse()
730 if (!he->srcfile) in sort__srcfile_init()
731 he->srcfile = hist_entry__get_srcfile(he); in sort__srcfile_init()
737 return repsep_snprintf(bf, size, "%-.*s", width, he->srcfile); in hist_entry__srcfile_snprintf()
2626 MK_SORT_ENTRY_CHK(srcfile) in MK_SORT_ENTRY_CHK()
Dhist.c233 if (h->srcfile) in hists__calc_col_len()
234 hists__new_col_len(hists, HISTC_SRCFILE, strlen(h->srcfile)); in hists__calc_col_len()
1359 if (he->srcfile && he->srcfile[0]) in hist_entry__delete()
1360 zfree(&he->srcfile); in hist_entry__delete()
1549 he->srcfile = NULL; in hierarchy_insert_entry()
1551 new->srcfile = NULL; in hierarchy_insert_entry()
Dmap.c513 zfree(&state->srcfile); in srccode_state_free()
Dhist.h262 char *srcfile; member
/linux-6.12.1/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.12.1/lib/
Dtest_bitmap.c63 __check_eq_ulong(const char *srcfile, unsigned int line, in __check_eq_ulong() argument
68 srcfile, line, exp_ulong, x); in __check_eq_ulong()
75 __check_eq_bitmap(const char *srcfile, unsigned int line, in __check_eq_bitmap() argument
81 srcfile, line, in __check_eq_bitmap()
89 __check_eq_pbl(const char *srcfile, unsigned int line, in __check_eq_pbl() argument
96 srcfile, line, in __check_eq_pbl()
104 __check_eq_u32_array(const char *srcfile, unsigned int line,
108 __check_eq_u32_array(const char *srcfile, unsigned int line, in __check_eq_u32_array() argument
114 srcfile, line, in __check_eq_u32_array()
120 pr_warn("[%s:%u] array contents differ\n", srcfile, line); in __check_eq_u32_array()
[all …]
/linux-6.12.1/tools/perf/
Dbuiltin-script.c1132 char *srcfile; in map__fprintf_srccode() local
1141 srcfile = get_srcline_split(dso, in map__fprintf_srccode()
1144 if (!srcfile) in map__fprintf_srccode()
1149 state->srcfile && in map__fprintf_srccode()
1150 !strcmp(state->srcfile, srcfile) && in map__fprintf_srccode()
1152 free(srcfile); in map__fprintf_srccode()
1156 srccode = find_sourceline(srcfile, line, &len); in map__fprintf_srccode()
1163 state->srcfile = srcfile; in map__fprintf_srccode()
1169 free(srcfile); in map__fprintf_srccode()
/linux-6.12.1/fs/smb/client/
Dsmb2ops.c1786 struct cifsFileInfo *srcfile, in smb2_copychunk_range() argument
1805 rc = SMB2_request_res_key(xid, tlink_tcon(srcfile->tlink), in smb2_copychunk_range()
1806 srcfile->fid.persistent_fid, in smb2_copychunk_range()
1807 srcfile->fid.volatile_fid, pcchunk); in smb2_copychunk_range()
1820 trace_smb3_copychunk_enter(xid, srcfile->fid.volatile_fid, in smb2_copychunk_range()
1875 trace_smb3_copychunk_done(xid, srcfile->fid.volatile_fid, in smb2_copychunk_range()
2039 struct cifsFileInfo *srcfile, in smb2_duplicate_extents() argument
2054 dup_ext_buf.VolatileFileHandle = srcfile->fid.volatile_fid; in smb2_duplicate_extents()
2055 dup_ext_buf.PersistentFileHandle = srcfile->fid.persistent_fid; in smb2_duplicate_extents()
2061 trace_smb3_clone_enter(xid, srcfile->fid.volatile_fid, in smb2_duplicate_extents()
[all …]
/linux-6.12.1/tools/perf/Documentation/
Dperf-report.txt92 - srcfile: file name of the source file of the samples. Requires dwarf