in src/LttngHelpers.c [409:419]
static int FixArrayCompare(
void const *p1, void const *p2)
lttng_ust_notrace;
static int FixArrayCompare(
void const *p1, void const *p2)
{
// Reverse sort so that NULL goes at end.
void const *v1 = *(void const *const *)p1;
void const *v2 = *(void const *const *)p2;
return v1 < v2 ? 1 : v1 == v2 ? 0 : -1;
}