Searched refs:srcline (Results 1 - 14 of 14) sorted by relevance

/linux-4.1.27/tools/perf/util/
H A Dsrcline.c260 char *srcline; get_srcline() local
280 if (asprintf(&srcline, "%s:%u", basename(file), line) < 0) { get_srcline()
288 return srcline; get_srcline()
296 if (asprintf(&srcline, "%s+%" PRIu64, show_sym ? sym->name : "", get_srcline()
299 } else if (asprintf(&srcline, "%s[%" PRIx64 "]", dso->short_name, addr) < 0) get_srcline()
301 return srcline; get_srcline()
304 void free_srcline(char *srcline) free_srcline() argument
306 if (srcline && strcmp(srcline, SRCLINE_UNKNOWN) != 0) free_srcline()
307 free(srcline); free_srcline()
H A Dsort.c283 /* --sort srcline */
288 if (!left->srcline) { sort__srcline_cmp()
290 left->srcline = SRCLINE_UNKNOWN; sort__srcline_cmp()
293 left->srcline = get_srcline(map->dso, sort__srcline_cmp()
298 if (!right->srcline) { sort__srcline_cmp()
300 right->srcline = SRCLINE_UNKNOWN; sort__srcline_cmp()
303 right->srcline = get_srcline(map->dso, sort__srcline_cmp()
308 return strcmp(right->srcline, left->srcline); sort__srcline_cmp()
314 return repsep_snprintf(bf, size, "%-*.*s", width, width, he->srcline); hist_entry__srcline_snprintf()
1177 DIM(SORT_SRCLINE, "srcline", sort_srcline),
H A Dmap.c358 char *srcline; map__fprintf_srcline() local
362 srcline = get_srcline(map->dso, map__fprintf_srcline()
364 if (srcline != SRCLINE_UNKNOWN) map__fprintf_srcline()
365 ret = fprintf(fp, "%s%s", prefix, srcline); map__fprintf_srcline()
366 free_srcline(srcline); map__fprintf_srcline()
H A Dcallchain.c831 cl->ms.map && !cl->srcline) callchain_list__sym_name()
832 cl->srcline = get_srcline(cl->ms.map->dso, callchain_list__sym_name()
836 if (cl->srcline) callchain_list__sym_name()
838 cl->ms.sym->name, cl->srcline); callchain_list__sym_name()
H A Dcallchain.h75 char *srcline; member in struct:callchain_list
H A Dsort.h107 char *srcline; member in struct:hist_entry
H A Dutil.h317 void free_srcline(char *srcline);
H A Dhist.c154 if (h->srcline) hists__calc_col_len()
155 hists__new_col_len(hists, HISTC_SRCLINE, strlen(h->srcline)); hists__calc_col_len()
946 free_srcline(he->srcline); hist_entry__delete()
/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_insformat.h169 u_int srcline; member in struct:instruction
H A Daicasm.c610 while (line < cur_instr->srcline) { output_listing()
632 if (line == cur_instr->srcline) { output_listing()
742 new_instr->srcline = yylineno; seq_alloc()
/linux-4.1.27/tools/perf/
H A Dbuiltin-report.c644 "sort by key(s): pid, comm, dso, symbol, parent, cpu, srcline, ..." cmd_report()
785 sort_order = "srcline,symbol,dso"; cmd_report()
H A Dbuiltin-diff.c805 "sort by key(s): pid, comm, dso, symbol, parent, cpu, srcline, ..."
H A Dbuiltin-top.c1116 "sort by key(s): pid, comm, dso, symbol, parent, cpu, srcline, ..." cmd_top()
H A Dbuiltin-script.c65 {.str = "srcline", .field = PERF_OUTPUT_SRCLINE},

Completed in 279 milliseconds