Re: [PATCH v8 6/9] perf c2c: add function view hierarchy entry creation

From: Jiebin Sun

Date: Thu Aug 13 2026 - 23:20:10 EST


Hi Namhyung,

> What if both DSOs are NULL?

If both are NULL, the outer condition is true, but
left_dso != right_dso is false. The function therefore skips the DSO name
comparison and reaches the final _sort__sym_cmp() call, using the symbols
to distinguish the entries instead.

Thanks,
Jiebin