Home
last modified time | relevance | path

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

12

/Linux-v5.15/tools/perf/util/
Dsrcline.c39 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 …]
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.c587 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 …]
Dcallchain.h133 const char *srcline; member
146 const char *srcline; member
209 const char *srcline);
Dmachine.c2110 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 …]
Dhist.c221 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 …]
Dmap.c440 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()
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()
2052 MK_SORT_ENTRY_CHK(srcline) in MK_SORT_ENTRY_CHK() argument
Dsort.h139 char *srcline; member
Dsymbol.h115 const char *srcline; member
Dannotate.c1787 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()
Ddlfilter.c287 .srcline = dlfilter__srcline,
DBuild98 perf-y += srcline.o
Devent.c686 al->srcline = NULL; in machine__resolve()
/Linux-v5.15/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.txt128 const char *(*srcline)(void *ctx, __u32 *line_number);
146 '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
263 - srcline: compare on source filename and line number
490 Show the full path for source files for srcline output.
Dperf-script.txt131 srcline, period, iregs, uregs, brstack, brstacksym, flags, bpf-output,
364 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.txt131 Sort by key(s): pid, comm, dso, symbol, parent, srcline, weight,
/Linux-v5.15/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-v5.15/tools/perf/include/perf/
Dperf_dlfilter.h103 const char *(*srcline)(void *ctx, __u32 *line_number); member
/Linux-v5.15/tools/perf/dlfilters/
Ddlfilter-test-api-v0.c108 const char *(*srcline)(void *ctx, __u32 *line_number); member
/Linux-v5.15/tools/perf/
Dbuiltin-c2c.c1974 if (c2c.show_src && !he->srcline) in filter_cb()
1975 he->srcline = hist_entry__srcline(he); in filter_cb()

12