Home
last modified time | relevance | path

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

/tools/perf/util/
Dannotate.c830 struct source_line *src_line = notes->src->lines; in disasm__calc_percent() local
834 if (src_line) { in disasm__calc_percent()
835 size_t sizeof_src_line = sizeof(*src_line) + in disasm__calc_percent()
836 sizeof(src_line->samples) * (src_line->nr_pcnt - 1); in disasm__calc_percent()
839 src_line = (void *)notes->src->lines + in disasm__calc_percent()
843 *path = src_line->path; in disasm__calc_percent()
845 percent += src_line->samples[evidx].percent; in disasm__calc_percent()
846 *nr_samples += src_line->samples[evidx].nr; in disasm__calc_percent()
1441 static void insert_source_line(struct rb_root *root, struct source_line *src_line) in insert_source_line() argument
1452 ret = strcmp(iter->path, src_line->path); in insert_source_line()
[all …]