Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/util/
Dsort.c240 int64_t _sort__sym_cmp(struct symbol *sym_l, struct symbol *sym_r) in _sort__sym_cmp() argument
242 if (!sym_l || !sym_r) in _sort__sym_cmp()
243 return cmp_null(sym_l, sym_r); in _sort__sym_cmp()
245 if (sym_l == sym_r) in _sort__sym_cmp()
248 if (sym_l->inlined || sym_r->inlined) { in _sort__sym_cmp()
249 int ret = strcmp(sym_l->name, sym_r->name); in _sort__sym_cmp()
253 if ((sym_l->start <= sym_r->end) && (sym_l->end >= sym_r->start)) in _sort__sym_cmp()
257 if (sym_l->start != sym_r->start) in _sort__sym_cmp()
258 return (int64_t)(sym_r->start - sym_l->start); in _sort__sym_cmp()
260 return (int64_t)(sym_r->end - sym_l->end); in _sort__sym_cmp()
[all …]
Dsort.h315 _sort__sym_cmp(struct symbol *sym_l, struct symbol *sym_r);
Dhist.c1077 struct symbol *sym_l = left->ms.sym; in hist_entry__fast__sym_diff() local
1080 if (!sym_l && !sym_r) in hist_entry__fast__sym_diff()
1083 return !!_sort__sym_cmp(sym_l, sym_r); in hist_entry__fast__sym_diff()