Home
last modified time | relevance | path

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

/Linux-v5.4/tools/perf/util/
Dsort.c237 static int64_t _sort__sym_cmp(struct symbol *sym_l, struct symbol *sym_r) in _sort__sym_cmp() argument
239 if (!sym_l || !sym_r) in _sort__sym_cmp()
240 return cmp_null(sym_l, sym_r); in _sort__sym_cmp()
242 if (sym_l == sym_r) in _sort__sym_cmp()
245 if (sym_l->inlined || sym_r->inlined) { in _sort__sym_cmp()
246 int ret = strcmp(sym_l->name, sym_r->name); in _sort__sym_cmp()
250 if ((sym_l->start <= sym_r->end) && (sym_l->end >= sym_r->start)) in _sort__sym_cmp()
254 if (sym_l->start != sym_r->start) in _sort__sym_cmp()
255 return (int64_t)(sym_r->start - sym_l->start); in _sort__sym_cmp()
257 return (int64_t)(sym_r->end - sym_l->end); in _sort__sym_cmp()
[all …]