Home
last modified time | relevance | path

Searched refs:srcline (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/tools/perf/util/
Dsrcline.c42 static int inline_list__append(struct symbol *symbol, char *srcline, in inline_list__append() argument
52 ilist->srcline = srcline; in inline_list__append()
72 char *srcline; in srcline_from_fileline() local
80 if (asprintf(&srcline, "%s:%u", file, line) < 0) in srcline_from_fileline()
83 return srcline; in srcline_from_fileline()
287 char *srcline = NULL; in inline_list__append_dso_a2l() local
290 srcline = srcline_from_fileline(a2l->filename, a2l->line); in inline_list__append_dso_a2l()
292 return inline_list__append(inline_sym, srcline, node); in inline_list__append_dso_a2l()
687 char *srcline; in __get_srcline() local
701 srcline = srcline_from_fileline(file, line); in __get_srcline()
[all …]
Dsrcline.h18 void free_srcline(char *srcline);
22 void srcline__tree_insert(struct rb_root_cached *tree, u64 addr, char *srcline);
32 char *srcline; member
Dcallchain.c593 call->srcline = cursor_node->srcline; in fill_node()
723 match = match_chain_strings(cnode->srcline, node->srcline); in match_chain()
1014 false, NULL, 0, 0, 0, list->srcline); in merge_chain_branch()
1055 const char *srcline) in callchain_cursor_append() argument
1074 node->srcline = srcline; in callchain_cursor_append()
1118 al->srcline = node->srcline; in fill_callchain_info()
1163 if (show_srcline && cl->srcline) in callchain_list__sym_name()
1165 cl->ms.sym->name, cl->srcline, in callchain_list__sym_name()
1576 node->branch_from, node->srcline); in callchain_cursor__copy()
1632 match = match_chain_strings(base_chain->srcline, in chain_match()
[all …]
Dcallchain.h133 const char *srcline; member
146 const char *srcline; member
209 const char *srcline);
Dmap.c446 char *srcline = map__srcline(map, addr, NULL); in map__fprintf_srcline() local
447 if (strncmp(srcline, SRCLINE_UNKNOWN, strlen(SRCLINE_UNKNOWN)) != 0) in map__fprintf_srcline()
448 ret = fprintf(fp, "%s%s", prefix, srcline); in map__fprintf_srcline()
449 free_srcline(srcline); in map__fprintf_srcline()
Dmachine.c2229 char *srcline = NULL; in callchain_srcline() local
2232 return srcline; in callchain_srcline()
2234 srcline = srcline__tree_find(&map->dso->srclines, ip); in callchain_srcline()
2235 if (!srcline) { in callchain_srcline()
2239 srcline = get_srcline(map->dso, map__rip_2objdump(map, ip), in callchain_srcline()
2241 srcline__tree_insert(&map->dso->srclines, ip, srcline); in callchain_srcline()
2244 return srcline; in callchain_srcline()
2267 const char *srcline = NULL; in add_callchain_ip() local
2271 al.srcline = NULL; in add_callchain_ip()
2325 srcline = callchain_srcline(&ms, al.addr); in add_callchain_ip()
[all …]
Dhist.c226 if (h->srcline) { in hists__calc_col_len()
227 len = MAX(strlen(h->srcline), strlen(sort_srcline.se_header)); in hists__calc_col_len()
485 if (he->srcline) { in hist_entry__init()
486 he->srcline = strdup(he->srcline); in hist_entry__init()
487 if (he->srcline == NULL) in hist_entry__init()
509 zfree(&he->srcline); in hist_entry__init()
720 .srcline = (char *) al->srcline, in __hists__add_entry()
1117 .srcline = (char *) al->srcline, in iter_add_next_cumulative_entry()
1323 free_srcline(he->srcline); in hist_entry__delete()
1509 he->srcline = NULL; in hierarchy_insert_entry()
[all …]
Dsort.c374 if (!left->srcline) in sort__srcline_cmp()
375 left->srcline = hist_entry__srcline(left); in sort__srcline_cmp()
376 if (!right->srcline) in sort__srcline_cmp()
377 right->srcline = hist_entry__srcline(right); in sort__srcline_cmp()
379 return strcmp(right->srcline, left->srcline); in sort__srcline_cmp()
385 if (!he->srcline) in hist_entry__srcline_snprintf()
386 he->srcline = hist_entry__srcline(he); in hist_entry__srcline_snprintf()
388 return repsep_snprintf(bf, size, "%-.*s", width, he->srcline); in hist_entry__srcline_snprintf()
2210 MK_SORT_ENTRY_CHK(srcline) in MK_SORT_ENTRY_CHK() argument
Dsort.h138 char *srcline; member
Dsymbol.h126 const char *srcline; member
Dannotate.c1815 const char *srcline; in symbol__disassemble_bpf() local
1827 srcline = btf__name_by_offset(btf, linfo->line_off); in symbol__disassemble_bpf()
1830 srcline = NULL; in symbol__disassemble_bpf()
1836 if (!opts->hide_src_code && srcline) { in symbol__disassemble_bpf()
1838 args->line = strdup(srcline); in symbol__disassemble_bpf()
Ddlfilter.c287 .srcline = dlfilter__srcline,
DBuild102 perf-y += srcline.o
Devent.c708 al->srcline = NULL; in machine__resolve()
/linux-6.1.9/tools/perf/Documentation/
Dtips.txt22 If you have debuginfo enabled, try: perf report -s sym,srcline
32 Order by the overhead of source file name and line number: perf report -s srcline
Dperf-dlfilter.txt150 const char *(*srcline)(void *ctx, __u32 *line_number);
168 'srcline' return source file name and line number.
Dperf-report.txt75 pid, comm, dso, symbol, parent, cpu, socket, srcline, weight,
90 - srcline: filename and line number executed at the time of sample. The
264 - srcline: compare on source filename and line number
491 Show the full path for source files for srcline output.
Dperf-script.txt134 srcline, period, iregs, uregs, brstack, brstacksym, flags, bpf-output,
379 Show the full path for source files for srcline output.
Dperf-diff.txt61 Sort by key(s): pid, comm, dso, symbol, cpu, parent, srcline.
Dperf-top.txt132 Sort by key(s): pid, comm, dso, symbol, parent, srcline, weight,
/linux-6.1.9/drivers/scsi/aic7xxx/aicasm/
Daicasm_insformat.h169 u_int srcline; member
Daicasm.c609 while (line < cur_instr->srcline) { in output_listing()
631 if (line == cur_instr->srcline) { in output_listing()
741 new_instr->srcline = yylineno; in seq_alloc()
/linux-6.1.9/tools/perf/include/perf/
Dperf_dlfilter.h111 const char *(*srcline)(void *ctx, __u32 *line_number); member
/linux-6.1.9/tools/perf/dlfilters/
Ddlfilter-test-api-v0.c108 const char *(*srcline)(void *ctx, __u32 *line_number); member
/linux-6.1.9/tools/perf/util/scripting-engines/
Dtrace-event-python.c472 if (node->srcline && strcmp(":0", node->srcline)) { in python_process_callchain()
475 _PyUnicode_FromString(node->srcline)); in python_process_callchain()

12