Home
last modified time | relevance | path

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

/tools/perf/util/
Dsrcline.c257 char *srcline; in get_srcline() local
277 if (asprintf(&srcline, "%s:%u", file, line) < 0) { in get_srcline()
285 return srcline; in get_srcline()
295 void free_srcline(char *srcline) in free_srcline() argument
297 if (srcline && strcmp(srcline, SRCLINE_UNKNOWN) != 0) in free_srcline()
298 free(srcline); in free_srcline()
Dmap.c358 char *srcline; in map__fprintf_srcline() local
362 srcline = get_srcline(map->dso, in map__fprintf_srcline()
364 if (srcline != SRCLINE_UNKNOWN) in map__fprintf_srcline()
365 ret = fprintf(fp, "%s%s", prefix, srcline); in map__fprintf_srcline()
366 free_srcline(srcline); in map__fprintf_srcline()
Dsort.c288 if (!left->srcline) { in sort__srcline_cmp()
290 left->srcline = SRCLINE_UNKNOWN; in sort__srcline_cmp()
293 left->srcline = get_srcline(map->dso, in sort__srcline_cmp()
297 if (!right->srcline) { in sort__srcline_cmp()
299 right->srcline = SRCLINE_UNKNOWN; in sort__srcline_cmp()
302 right->srcline = get_srcline(map->dso, in sort__srcline_cmp()
306 return strcmp(right->srcline, left->srcline); in sort__srcline_cmp()
312 return repsep_snprintf(bf, size, "%*.*-s", width, width, he->srcline); in hist_entry__srcline_snprintf()
Dsort.h107 char *srcline; member
Dutil.h343 void free_srcline(char *srcline);
Dhist.c153 if (h->srcline) in hists__calc_col_len()
154 hists__new_col_len(hists, HISTC_SRCLINE, strlen(h->srcline)); in hists__calc_col_len()
950 free_srcline(he->srcline); in hist_entry__free()
/tools/perf/Documentation/
Dperf-report.txt65 pid, comm, dso, symbol, parent, cpu, srcline, weight, local_weight.
76 - srcline: filename and line number executed at the time of sample. The
Dperf-diff.txt53 Sort by key(s): pid, comm, dso, symbol, cpu, parent, srcline.
Dperf-top.txt118 Sort by key(s): pid, comm, dso, symbol, parent, srcline, weight,
Dperf-script.txt118 comm, tid, pid, time, cpu, event, trace, ip, sym, dso, addr, symoff, srcline, period.
/tools/perf/
DMakefile.perf379 LIB_OBJS += $(OUTPUT)util/srcline.o