Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/util/
Dsort.c300 int64_t _sort__sym_cmp(struct symbol *sym_l, struct symbol *sym_r) in _sort__sym_cmp() argument
302 if (!sym_l || !sym_r) in _sort__sym_cmp()
303 return cmp_null(sym_l, sym_r); in _sort__sym_cmp()
305 if (sym_l == sym_r) in _sort__sym_cmp()
308 if (sym_l->inlined || sym_r->inlined) { in _sort__sym_cmp()
309 int ret = strcmp(sym_l->name, sym_r->name); in _sort__sym_cmp()
313 if ((sym_l->start <= sym_r->end) && (sym_l->end >= sym_r->start)) in _sort__sym_cmp()
317 if (sym_l->start != sym_r->start) in _sort__sym_cmp()
318 return (int64_t)(sym_r->start - sym_l->start); in _sort__sym_cmp()
320 return (int64_t)(sym_r->end - sym_l->end); in _sort__sym_cmp()
[all …]
Dsort.h333 _sort__sym_cmp(struct symbol *sym_l, struct symbol *sym_r);
Dhist.c1104 struct symbol *sym_r = right->ms.sym; in hist_entry__fast__sym_diff() local
1106 if (!sym_l && !sym_r) in hist_entry__fast__sym_diff()
1109 return !!_sort__sym_cmp(sym_l, sym_r); in hist_entry__fast__sym_diff()