static int cmp_counts()

in profiler/stack_printer.cpp [38:43]


static int cmp_counts(const void *dx, const void *dy)
{
    __u64 x = ((struct key_ext_t *)dx)->v;
    __u64 y = ((struct key_ext_t *)dy)->v;
    return x > y ? -1 : !(x == y);
}