Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dsort.c302 int64_t _sort__sym_cmp(struct symbol *sym_l, struct symbol *sym_r) in _sort__sym_cmp() argument
304 if (!sym_l || !sym_r) in _sort__sym_cmp()
305 return cmp_null(sym_l, sym_r); in _sort__sym_cmp()
307 if (sym_l == sym_r) in _sort__sym_cmp()
310 if (sym_l->inlined || sym_r->inlined) { in _sort__sym_cmp()
311 int ret = strcmp(sym_l->name, sym_r->name); in _sort__sym_cmp()
315 if ((sym_l->start <= sym_r->end) && (sym_l->end >= sym_r->start)) in _sort__sym_cmp()
319 if (sym_l->start != sym_r->start) in _sort__sym_cmp()
320 return (int64_t)(sym_r->start - sym_l->start); in _sort__sym_cmp()
322 return (int64_t)(sym_r->end - sym_l->end); in _sort__sym_cmp()
[all …]
H A Dsort.h153 _sort__sym_cmp(struct symbol *sym_l, struct symbol *sym_r);
H A Dhist.c1119 struct symbol *sym_r = right->ms.sym; in hist_entry__fast__sym_diff() local
1121 if (!sym_l && !sym_r) in hist_entry__fast__sym_diff()
1124 return !!_sort__sym_cmp(sym_l, sym_r); in hist_entry__fast__sym_diff()