/Linux-v5.15/tools/perf/util/ |
D | srcline.c | 39 static int inline_list__append(struct symbol *symbol, char *srcline, in inline_list__append() argument 49 ilist->srcline = srcline; in inline_list__append() 69 char *srcline; in srcline_from_fileline() local 77 if (asprintf(&srcline, "%s:%u", file, line) < 0) in srcline_from_fileline() 80 return srcline; in srcline_from_fileline() 284 char *srcline = NULL; in inline_list__append_dso_a2l() local 287 srcline = srcline_from_fileline(a2l->filename, a2l->line); in inline_list__append_dso_a2l() 289 return inline_list__append(inline_sym, srcline, node); in inline_list__append_dso_a2l() 481 char *srcline; in addr2inlines() local 492 srcline = srcline_from_fileline(filename, line_nr); in addr2inlines() [all …]
|
D | srcline.h | 18 void free_srcline(char *srcline); 22 void srcline__tree_insert(struct rb_root_cached *tree, u64 addr, char *srcline); 32 char *srcline; member
|
D | callchain.c | 587 call->srcline = cursor_node->srcline; in fill_node() 717 match = match_chain_strings(cnode->srcline, node->srcline); in match_chain() 1008 false, NULL, 0, 0, 0, list->srcline); in merge_chain_branch() 1049 const char *srcline) in callchain_cursor_append() argument 1068 node->srcline = srcline; in callchain_cursor_append() 1112 al->srcline = node->srcline; in fill_callchain_info() 1157 if (show_srcline && cl->srcline) in callchain_list__sym_name() 1159 cl->ms.sym->name, cl->srcline, in callchain_list__sym_name() 1578 node->branch_from, node->srcline); in callchain_cursor__copy() 1622 match = match_chain_strings(base_chain->srcline, in chain_match() [all …]
|
D | callchain.h | 133 const char *srcline; member 146 const char *srcline; member 209 const char *srcline);
|
D | machine.c | 2110 char *srcline = NULL; in callchain_srcline() local 2113 return srcline; in callchain_srcline() 2115 srcline = srcline__tree_find(&map->dso->srclines, ip); in callchain_srcline() 2116 if (!srcline) { in callchain_srcline() 2120 srcline = get_srcline(map->dso, map__rip_2objdump(map, ip), in callchain_srcline() 2122 srcline__tree_insert(&map->dso->srclines, ip, srcline); in callchain_srcline() 2125 return srcline; in callchain_srcline() 2148 const char *srcline = NULL; in add_callchain_ip() local 2152 al.srcline = NULL; in add_callchain_ip() 2206 srcline = callchain_srcline(&ms, al.addr); in add_callchain_ip() [all …]
|
D | hist.c | 221 if (h->srcline) { in hists__calc_col_len() 222 len = MAX(strlen(h->srcline), strlen(sort_srcline.se_header)); in hists__calc_col_len() 488 if (he->srcline) { in hist_entry__init() 489 he->srcline = strdup(he->srcline); in hist_entry__init() 490 if (he->srcline == NULL) in hist_entry__init() 512 zfree(&he->srcline); in hist_entry__init() 726 .srcline = (char *) al->srcline, in __hists__add_entry() 1123 .srcline = (char *) al->srcline, in iter_add_next_cumulative_entry() 1329 free_srcline(he->srcline); in hist_entry__delete() 1515 he->srcline = NULL; in hierarchy_insert_entry() [all …]
|
D | map.c | 440 char *srcline = map__srcline(map, addr, NULL); in map__fprintf_srcline() local 441 if (strncmp(srcline, SRCLINE_UNKNOWN, strlen(SRCLINE_UNKNOWN)) != 0) in map__fprintf_srcline() 442 ret = fprintf(fp, "%s%s", prefix, srcline); in map__fprintf_srcline() 443 free_srcline(srcline); in map__fprintf_srcline()
|
D | sort.c | 374 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() 2052 MK_SORT_ENTRY_CHK(srcline) in MK_SORT_ENTRY_CHK() argument
|
D | sort.h | 139 char *srcline; member
|
D | symbol.h | 115 const char *srcline; member
|
D | annotate.c | 1787 const char *srcline; in symbol__disassemble_bpf() local 1799 srcline = btf__name_by_offset(btf, linfo->line_off); in symbol__disassemble_bpf() 1802 srcline = NULL; in symbol__disassemble_bpf() 1808 if (!opts->hide_src_code && srcline) { in symbol__disassemble_bpf() 1810 args->line = strdup(srcline); in symbol__disassemble_bpf()
|
D | dlfilter.c | 287 .srcline = dlfilter__srcline,
|
D | Build | 98 perf-y += srcline.o
|
D | event.c | 686 al->srcline = NULL; in machine__resolve()
|
/Linux-v5.15/tools/perf/Documentation/ |
D | tips.txt | 22 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
|
D | perf-dlfilter.txt | 128 const char *(*srcline)(void *ctx, __u32 *line_number); 146 'srcline' return source file name and line number.
|
D | perf-report.txt | 75 pid, comm, dso, symbol, parent, cpu, socket, srcline, weight, 90 - srcline: filename and line number executed at the time of sample. The 263 - srcline: compare on source filename and line number 490 Show the full path for source files for srcline output.
|
D | perf-script.txt | 131 srcline, period, iregs, uregs, brstack, brstacksym, flags, bpf-output, 364 Show the full path for source files for srcline output.
|
D | perf-diff.txt | 61 Sort by key(s): pid, comm, dso, symbol, cpu, parent, srcline.
|
D | perf-top.txt | 131 Sort by key(s): pid, comm, dso, symbol, parent, srcline, weight,
|
/Linux-v5.15/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_insformat.h | 169 u_int srcline; member
|
D | aicasm.c | 609 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-v5.15/tools/perf/include/perf/ |
D | perf_dlfilter.h | 103 const char *(*srcline)(void *ctx, __u32 *line_number); member
|
/Linux-v5.15/tools/perf/dlfilters/ |
D | dlfilter-test-api-v0.c | 108 const char *(*srcline)(void *ctx, __u32 *line_number); member
|
/Linux-v5.15/tools/perf/ |
D | builtin-c2c.c | 1974 if (c2c.show_src && !he->srcline) in filter_cb() 1975 he->srcline = hist_entry__srcline(he); in filter_cb()
|